Products > Test Equipment

Agilent E7495 linux root account

<< < (9/91) > >>

9aplus:
Well for sure something is not good regarding The file transfer....

Here is my FTP transfer attempt, maybe someone can find out, what is wrong....

--- Quote ---q@ubuntu:/home$ ls -al
total 12
drwxrwxrwx  3 root root 4096 Feb  5 15:21 .
drwxr-xr-x 24 root root 4096 Feb 19 10:27 ..
drwxr-xr-x 34 q    q    4096 Feb 23 17:47 q
q@ubuntu:/home$ sudo chmod 777 q
[sudo] password for q:
q@ubuntu:/home$ ls -al
total 12
drwxrwxrwx  3 root root 4096 Feb  5 15:21 .
drwxr-xr-x 24 root root 4096 Feb 19 10:27 ..
drwxrwxrwx 34 q    q    4096 Feb 23 17:47 q

--- End quote ---
Enabling all kind of reading and writing on home of user q

--- Quote ---q@ubuntu:/home$ sudo /etc/init.d/vsftpd start
vsftpd start/running, process 5611

--- End quote ---
ftp server start....

--- Quote ---q@ubuntu:/home$ telnet 192.168.1.209
Trying 192.168.1.209...
Connected to 192.168.1.209.
Escape character is '^]'.

Linux login: root
Password:

--- End quote ---

telnet on E7495B

--- Quote ---[root@Linux /root]$cd ..
[root@Linux /]$cd ..
[root@Linux /]$ls -al
drwxr-xr-x   19 root     root         1024 Feb 20 08:17 .
drwxr-xr-x   19 root     root         1024 Feb 20 08:17 ..
-rwxr-xr-x    1 root     root           31 Feb 20 08:17 .flexlmrc
drwxr-xr-x    2 root     root         2048 Oct 21  1968 bin
drwxr-xr-x    6 root     root         2048 Oct 21  1968 dev
drwxr-xr-x    6 root     root         1024 Oct 21  1968 etc
drwxrwxr-x    1 root     root            0 Nov 13  1969 flash
drwxr-xr-x    8 root     root         1024 Aug 23  2004 home
drwxr-xr-x    4 root     root         2048 Oct 21  1968 lib
lrwxrwxrwx    1 root     root           11 Aug 23  2004 linuxrc -> bin/busybox
drwxr-xr-x    2 root     root        12288 Apr  4  2000 lost+found
drwxr-xr-x    2 root     root         1024 Aug 23  2004 mnt
drwxr-xr-x    2 root     root         1024 Aug 23  2004 nfs
dr-xr-xr-x   89 root     root            0 Oct 21  1968 proc
drwxr-xr-x    2 root     root         1024 Aug 23  2004 rd
drwxr-xr-x    2 root     root         1024 Feb 20 08:17 root
drwxr-xr-x    2 root     root         1024 Apr  7  2004 sbin
drwxr-xr-t    3 root     root         1024 Feb 20 08:17 tmp
drwxr-xr-x    7 root     root         1024 Apr  7  2004 usr
drwxr-xr-x    7 root     root         1024 Apr  7  2004 var
drwxr-xr-x    2 root     root         1024 Aug 23  2004 xdrive
[root@Linux /]$cd flash
[root@Linux /flash]$ls
COPYRIGHTS.TXT.gz     firmware_upgrade.log  mnt
egGui                 linux                 mntArms
egServer              ln                    siege
elgato                loadkernel            siege_current
[root@Linux /flash]$cd egGui
[root@Linux egGui]$ls -al
drwxrwxr-x    1 root     root            0 Nov 13  1969 .
drwxrwxr-x    1 root     root            0 Nov 13  1969 ..
-r--r--r--    1 root     root       455489 Nov  1  2007 JimiProClasses.zip
-rw-rw-r--    1 root     root      3480541 Nov  1  2007 egclient.jar
-r--r--r--    1 root     root         8070 Nov  1  2007 libguiutil.so
-r--r--r--    1 root     root       596528 Nov  1  2007 rhino-1.5R4.jar
-rw-------    1 root     root            0 Dec 18  2006 shellexec.log
-r--r--r--    1 root     root      1897838 Nov  1  2007 swing.jar
-r--r--r--    1 root     root      1812019 Nov  1  2007 xerces.jar

--- End quote ---
changing path to righ folder....

--- Quote ---[root@Linux egGui]$ftp
ftp> open 192.168.1.205
Connected to 192.168.1.205.
220 Welcome to VIHOR FTP service.
Name (192.168.1.205:root): q
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.

--- End quote ---
Login to ftp server on Ubuntu PC

--- Quote ---ftp> passive
Passive mode on.
ftp> put libguiutil.so
local: libguiutil.so remote: libguiutil.so
227 Entering Passive Mode (192,168,1,205,56,86).
150 Ok to send data.
421 Data timeout. Reconnect. Sorry.
8070 bytes sent in 0.00125 secs (6.3e+03 Kbytes/sec)
ftp> close
Not connected.
ftp> exit
[root@Linux egGui]$quitConnection closed by foreign host.

--- End quote ---
Transfer started, but takes bit long for small 8kb file (smallest in folder), ftp closed, telnet quit

--- Quote ---q@ubuntu:/home$ ls -al
total 12
drwxrwxrwx  3 root root 4096 Feb  5 15:21 .
drwxr-xr-x 24 root root 4096 Feb 19 10:27 ..
drwxrwxrwx 34 q    q    4096 Feb 23 19:10 q
q@ubuntu:/home$ cd q
q@ubuntu:~$ ls -al
total 216
drwxrwxrwx 34 q    q     4096 Feb 23 19:10 .
drwxrwxrwx  3 root root  4096 Feb  5 15:21 ..
drwx------  3 q    q     4096 Feb  5 21:02 .adobe
... lot of flies and folders
-rw-------  1 q    q        0 Feb 23 19:10 libguiutil.so
... lot of files and folders
-rw-------  1 q    q     8935 Feb 23 12:37 .xsession-errors.old
q@ubuntu:~$

--- End quote ---
Same result, test file libguiutil.so have 0 size....

For reference vsftpd.conf is ->

--- Quote ---listen=YES
anonymous_enable=YES
local_enable=YES
write_enable=YES
anon_upload_enable=YES
anon_mkdir_write_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
chown_uploads=YES
chown_username=q
ftpd_banner=Welcome to VIHOR FTP service.
secure_chroot_dir=/var/run/vsftpd
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/certs/vsftpd.pem
anon_root=/srv/ftp/incoming

--- End quote ---

Any tips or tricks  :-\

EDIT: for evidence, just made ftp transfer of 40 k file from another PC terminal console, without any trouble....
conclusion my ftp server setup on Ubuntu is OK
E7495B do not like to give his precious files away  ;)

Urs42:
The most important line is:


--- Code: ---421 Data timeout. Reconnect. Sorry.
--- End code ---

Looks like a network or firewall problem. I have no idea about the default firewall config on a Ubuntu System.  You also had troubles with the HTTP download. I think HTTP should work with any default firewall setup.  Is telnet stable? Can you compare the Output of ifconfig on the PC and E7495? Are there any errors in the output of dmesg on both devices?

9aplus:
Telnet is stable, tests with mkdir or chmod are ok

HTTP transfer failed on Ubuntu and Windows 7 (second PC was first try) both are on Wireless and E7495 is on LAN Ethernet....
Maybe should test tomorrow with crossover CAT 5 cable or on other LAN hub/switch too. (LAN to LAN)

After booting there are no Errors by dmesg
Regarding Output of ifconfig on the PC and E7495, will see that tomorrow.

9aplus:
After some re-formating of CF (8 GB Trascend) upgrade done....






but comm / download problem for egclient.jar still exist, at last on HTTP protocol

9aplus:
Now copy of ifconfig...

Ubuntu PC->

--- Quote ---q@ubuntu:~$ sudo /etc/init.d/vsftpd restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service vsftpd restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) and then start(8) utilities,
e.g. stop vsftpd ; start vsftpd. The restart(8) utility is also available.
vsftpd stop/waiting
vsftpd start/running, process 3482
q@ubuntu:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1b:38:07:e1:35 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1519 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1519 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:147453 (147.4 KB)  TX bytes:147453 (147.4 KB)

wlan0     Link encap:Ethernet  HWaddr 00:1b:77:53:a1:e1 
          inet addr:192.168.1.205  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21b:77ff:fe53:a1e1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:47025 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10301 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9331190 (9.3 MB)  TX bytes:1644170 (1.6 MB)


--- End quote ---

E7495B ->

--- Quote ---q@ubuntu:~$ telnet 192.168.1.209
Trying 192.168.1.209...
Connected to 192.168.1.209.
Escape character is '^]'.

Linux login: root
Password:
[root@Linux /root]$ifconfig
eth0      Link encap:Ethernet  HWaddr 00:60:0C:00:48:9C 
          inet addr:192.168.1.209  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING  MTU:1500  Metric:1
          RX packets:1852 errors:0 dropped:0 overruns:0 frame:0
          TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:113381 (110.7 kb)  TX bytes:0 (0.0 b)
          Interrupt:58

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:496 errors:0 dropped:0 overruns:0 frame:0
          TX packets:496 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:41823 (40.8 kb)  TX bytes:41823 (40.8 kb)

[root@Linux /root]$

--- End quote ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod