Author Topic: Agilent E7495 linux root account  (Read 89195 times)

0 Members and 1 Guest are viewing this topic.

Offline 9aplus

  • Regular Contributor
  • *
  • Posts: 124
Re: Agilent E7495 linux root account
« Reply #25 on: February 22, 2015, 07:51:19 pm »
Yes in deed, that looks like many of E7495B options....

Here still version download trouble....
 

Offline Urs42

  • Supporter
  • ****
  • Posts: 142
  • Country: ch
Re: Agilent E7495 linux root account
« Reply #26 on: February 22, 2015, 08:12:06 pm »
Try http://192.168.1.209/egclient.jar

@PA0PBZ The patch works perfectly!
 

Online PA0PBZ

  • Super Contributor
  • ***
  • Posts: 4465
  • Country: nl
Re: Agilent E7495 linux root account
« Reply #27 on: February 22, 2015, 08:16:15 pm »
@PA0PBZ The patch works perfectly!

That was a fast one then, without even having the E7495.  :-+
Keyboard error: Press F1 to continue.
 

Offline 9aplus

  • Regular Contributor
  • *
  • Posts: 124
Re: Agilent E7495 linux root account
« Reply #28 on: February 22, 2015, 08:54:59 pm »
So SW options unlocked ;)
Great  :-+

that with link
Quote
Try http://192.168.1.209/egclient.jar
can not work, but ftp transfer may work....
flie on E7495B is->
 /flash/egGui/
3480541 Nov  1  2007 egclient.jar
 

Offline Urs42

  • Supporter
  • ****
  • Posts: 142
  • Country: ch
Re: Agilent E7495 linux root account
« Reply #29 on: February 22, 2015, 09:08:27 pm »
I managed to start the remote Gui on my System!

You need the folowing files

Code: [Select]
egclient.jar
JimiProClasses.zip
RemoteGui.jar
xerces.jar

I think it will only work with the OpenJDK Java 6 runtime

You need to change the server and localAddress parameters, the server is the E7495 and localAddress is the IP of your PC.

Code: [Select]
java -Dserver=10.10.0.101 -DlocalAddress=10.10.0.156 -classpath "egclient-patch.jar:xerces.jar:JimiProClasses.zip:RemoteGui.jar" elgato.gui.MainWindow
Some helpful Key kombinations
CTRL-H = Help
CTRL-L = Local (This one is important!)
F1 to F7 =  Menu items on the left side
F9 = Mode Button
1 to 7 = Menu items on the right side

Before you can do anything you have to switch to the local mode on your PC, press CTRL-L to do this.




« Last Edit: February 23, 2015, 06:54:21 am by Urs42 »
 

Offline 9aplus

  • Regular Contributor
  • *
  • Posts: 124
Re: Agilent E7495 linux root account
« Reply #30 on: February 22, 2015, 09:19:54 pm »
Great, I have JDK 6 runtime, but
sorry I am not able to follow you...

Can you please explain step by step for dummies  (me)

Here is directory on my E7495B ->
Quote
[root@00-60-0c-00-48-9c 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

E7495B is on 192.168.1.209
PC-Ubuntu 12.04 is on 192.168.205
« Last Edit: February 22, 2015, 09:28:47 pm by 9aplus »
 

Offline Urs42

  • Supporter
  • ****
  • Posts: 142
  • Country: ch
Re: Agilent E7495 linux root account
« Reply #31 on: February 23, 2015, 05:00:08 am »
@9aplus How do you start the gui, and what is the error message you get?
 

Offline 9aplus

  • Regular Contributor
  • *
  • Posts: 124
Re: Agilent E7495 linux root account
« Reply #32 on: February 23, 2015, 09:32:27 am »
This error message ->


I am running RemoteGUI.jar with OpenJDK Java 6 runtime
Than after OK, file sistem is opened and after another ->Save
egclient.jar is with 0 size (download started, but not finished)

My intention now is to set up ftp transfer E7495B to PC-Ubuntu of whole egGui folder:
-----
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
------
And than to try with start of
RemoteGUI.jar with OpenJDK Java 6 runtime
on PC again.....
 

Offline Urs42

  • Supporter
  • ****
  • Posts: 142
  • Country: ch
Re: Agilent E7495 linux root account
« Reply #33 on: February 23, 2015, 11:02:18 am »
The download did work with my E7495, it should work with yours, i have no idea what the problem is. You could try to debug it with tcpdump or ngrep.

Please look at Reply #29, don't klick on anything, open a console and run the java command in my reply. If you can't download the egclient.jar file, telnet in to the E7495 and then copy the file with ftp to the PC, you can find it in the directory /flash/egGui/. Or you could extract the file from the firmware that you can get on the Agilent site.

You are running Firmware 6.23 i'm running 6.25, i think you should update your device first.
 

Offline 9aplus

  • Regular Contributor
  • *
  • Posts: 124
Re: Agilent E7495 linux root account
« Reply #34 on: February 23, 2015, 11:51:24 am »
Thank you,
yes UPDATE of FIRMWARE may be solution, must find PCMCIA reader first, this PC do not have one...

Here what is answer on java command run ->
Quote
q@ubuntu:~$ java -Dserver=192.168.1.209 -DlocalAddress=192.168.1.205 -classpath "egclient-patch.jar:xerces.jar:JimiProClasses.zip:RemoteGui.jar" elgato.gui.MainWindow
Exception in thread "main" java.lang.NoClassDefFoundError: elgato/gui/MainWindow
Caused by: java.lang.ClassNotFoundException: elgato.gui.MainWindow
   at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
Could not find the main class: elgato.gui.MainWindow. Program will exit.
q@ubuntu:~$
 

Offline Urs42

  • Supporter
  • ****
  • Posts: 142
  • Country: ch
Re: Agilent E7495 linux root account
« Reply #35 on: February 23, 2015, 11:58:28 am »
It loos like you are running the command in your home directory, that won't work. Run it in the directory where all the java files are.

I pasted the wrong command line, please replace egclient-patch.jar with egclient.jar

Code: [Select]
java -Dserver=192.168.1.209 -DlocalAddress=192.168.1.205 -classpath "egclient.jar:xerces.jar:JimiProClasses.zip:RemoteGui.jar" elgato.gui.MainWindow
A PCMCIA adapter won't be easy to find. I'm not sure if it's possible to update the firmware with a CF card. Card readers with CF are available in every electronics store (at least here). If you need a PCMCIA card for the upgrade, buy a CF to PCMCIA adapter and a CF card.

If you have a PCMCIA Card in your device, you could also use ftp to copy the upgrade to the card, you need some linux knowledge to do this.
« Last Edit: February 23, 2015, 12:13:24 pm by Urs42 »
 

Offline Wuerstchenhund

  • Super Contributor
  • ***
  • Posts: 3055
  • Country: gb
Re: Agilent E7495 linux root account
« Reply #36 on: February 23, 2015, 12:07:33 pm »
Thank you,
yes UPDATE of FIRMWARE may be solution, must find PCMCIA reader first, this PC do not have one...

You don't need PCMCIA. The E7495 also has a separate Compact Flash slot, just copy the firmware update to a FAT32 formatted CF card, plug in into the E7495 and switch it on. It will find the file and start the firmware update process.
 

Offline 9aplus

  • Regular Contributor
  • *
  • Posts: 124
Re: Agilent E7495 linux root account
« Reply #37 on: February 23, 2015, 12:43:18 pm »
Right, thank you :)
must visit the store next door... for CF card than

My Linux knowledge is limited, or a bit rusty, last time running approx 30 years ago
on some Unix XWin on Truevision Graphic Workstation  :palm:
but anyway have manged to start ftp server on Ubuntu and can login
using telnet like root from E7495B...

Here java runing from right folder ->
Quote
q@ubuntu:~/Desktop$ cd E7495xRemoteGui
q@ubuntu:~/Desktop/E7495xRemoteGui$ ls -al
total 4420
drwxrwxr-x 2 q q    4096 Feb 22 20:00 .
drwxr-xr-x 7 q q    4096 Feb 23 12:23 ..
-rwxrwxr-x 1 q q 2208850 Mar 25  2005 egclient.jar
-rwxrwxr-x 1 q q  455489 Jan 13  2004 JimiProClasses.zip
-rwxrwxr-x 1 q q   32611 Jun 30  2005 RemoteGui.jar
-rwxrwxr-x 1 q q 1812019 Sep 14  2004 xerces.jar
q@ubuntu:~/Desktop/E7495xRemoteGui$ java -Dserver=192.168.1.209 -DlocalAddress=192.168.1.205 -classpath "egclient.jar:xerces.jar:JimiProClasses.zip:RemoteGui.jar" elgato.gui.MainWindow
1424695201661 INFO util.LocaleManager No locale set, using default.
1424695201677 ERROR:  measurement.ListActuator Value 'en_GB' is not in the list -English (United States)
Exception in thread "main" java.lang.NoClassDefFoundError: ceej/awt/KeyEventFilter
   at elgato.util.Platform.createPlatform(Unknown Source)
   at elgato.util.Platform.<clinit>(Unknown Source)
   at elgato.gui.MainWindow.initKeyManager(Unknown Source)
   at elgato.gui.MainWindow.initializeApplication(Unknown Source)
   at elgato.gui.MainWindow.initializeApplication(Unknown Source)
   at elgato.gui.MainWindow.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: ceej.awt.KeyEventFilter
   at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
   ... 6 more
q@ubuntu:~/Desktop/E7495xRemoteGui$
« Last Edit: February 23, 2015, 12:48:55 pm by 9aplus »
 

Offline jwm_

  • Frequent Contributor
  • **
  • Posts: 318
  • Country: us
    • Not A Number
Re: Agilent E7495 linux root account
« Reply #38 on: February 23, 2015, 05:01:16 pm »
Ordered a broken (unknown reasons, non engineer seller) one for $275. Hopefully I will be able to get it up and running or I'll have some spare parts for you all.

Offline theatrus

  • Frequent Contributor
  • **
  • Posts: 350
  • Country: us
Re: Agilent E7495 linux root account
« Reply #39 on: February 23, 2015, 05:35:57 pm »
Since Sun at the tie wasn't in the business of shipping embedded Linux VMs, this will be using a VM made by these folks:

http://www.skelmir.com/

It looks like the libraries are setup to call into their implementation of AWT. In theory you could use proguard or similar to re-write the class references to normal AWT.

Java: write once, run somewhere

Right, thank you :)
must visit the store next door... for CF card than

My Linux knowledge is limited, or a bit rusty, last time running approx 30 years ago
on some Unix XWin on Truevision Graphic Workstation  :palm:
but anyway have manged to start ftp server on Ubuntu and can login
using telnet like root from E7495B...

Here java runing from right folder ->
Quote
q@ubuntu:~/Desktop$ cd E7495xRemoteGui
q@ubuntu:~/Desktop/E7495xRemoteGui$ ls -al
total 4420
drwxrwxr-x 2 q q    4096 Feb 22 20:00 .
drwxr-xr-x 7 q q    4096 Feb 23 12:23 ..
-rwxrwxr-x 1 q q 2208850 Mar 25  2005 egclient.jar
-rwxrwxr-x 1 q q  455489 Jan 13  2004 JimiProClasses.zip
-rwxrwxr-x 1 q q   32611 Jun 30  2005 RemoteGui.jar
-rwxrwxr-x 1 q q 1812019 Sep 14  2004 xerces.jar
q@ubuntu:~/Desktop/E7495xRemoteGui$ java -Dserver=192.168.1.209 -DlocalAddress=192.168.1.205 -classpath "egclient.jar:xerces.jar:JimiProClasses.zip:RemoteGui.jar" elgato.gui.MainWindow
1424695201661 INFO util.LocaleManager No locale set, using default.
1424695201677 ERROR:  measurement.ListActuator Value 'en_GB' is not in the list -English (United States)
Exception in thread "main" java.lang.NoClassDefFoundError: ceej/awt/KeyEventFilter
   at elgato.util.Platform.createPlatform(Unknown Source)
   at elgato.util.Platform.<clinit>(Unknown Source)
   at elgato.gui.MainWindow.initKeyManager(Unknown Source)
   at elgato.gui.MainWindow.initializeApplication(Unknown Source)
   at elgato.gui.MainWindow.initializeApplication(Unknown Source)
   at elgato.gui.MainWindow.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: ceej.awt.KeyEventFilter
   at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
   ... 6 more
q@ubuntu:~/Desktop/E7495xRemoteGui$
Software by day, hardware by night; blueAcro.com
 

Offline 9aplus

  • Regular Contributor
  • *
  • Posts: 124
Re: Agilent E7495 linux root account
« Reply #40 on: February 23, 2015, 06:40:44 pm »
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
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
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:

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
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.
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.
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:~$
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

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  ;)
« Last Edit: February 23, 2015, 08:01:32 pm by 9aplus »
 

Offline Urs42

  • Supporter
  • ****
  • Posts: 142
  • Country: ch
Re: Agilent E7495 linux root account
« Reply #41 on: February 23, 2015, 08:40:36 pm »
The most important line is:

Code: [Select]
421 Data timeout. Reconnect. Sorry.
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?
 

Offline 9aplus

  • Regular Contributor
  • *
  • Posts: 124
Re: Agilent E7495 linux root account
« Reply #42 on: February 23, 2015, 11:00:34 pm »
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.
 

Offline 9aplus

  • Regular Contributor
  • *
  • Posts: 124
Re: Agilent E7495 linux root account
« Reply #43 on: February 24, 2015, 12:33:55 pm »
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
 

Offline 9aplus

  • Regular Contributor
  • *
  • Posts: 124
Re: Agilent E7495 linux root account
« Reply #44 on: February 24, 2015, 02:24:13 pm »
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)


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]$
 

Offline 9aplus

  • Regular Contributor
  • *
  • Posts: 124
Re: Agilent E7495 linux root account
« Reply #45 on: February 24, 2015, 03:32:09 pm »
Another ftp session now wire LAN to LAN... no luck
Quote
[root@Linux egGui]$ftp
ftp> open 192.168.1.204
Connected to 192.168.1.204.
220 Welcome to VIHOR FTP service.
Name (192.168.1.204:root): q
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> put libguiutil.so
local: libguiutil.so remote: libguiutil.so
200 PORT command successful. Consider using PASV.
150 Ok to send data.
421 Data timeout. Reconnect. Sorry.
8070 bytes sent in 0.00131 secs (6e+03 Kbytes/sec)
ftp> exit
[root@Linux egGui]$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:6659 errors:0 dropped:0 overruns:0 frame:0
          TX packets:296 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:414038 (404.3 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:1528 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1528 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:123075 (120.1 kb)  TX bytes:123075 (120.1 kb)

[root@Linux egGui]$quitConnection closed by foreign host.
q@ubuntu:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1b:38:07:e1:35 
          inet addr:192.168.1.204  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21b:38ff:fe07:e135/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9376 errors:1 dropped:0 overruns:0 frame:0
          TX packets:4340 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1845529 (1.8 MB)  TX bytes:623224 (623.2 KB)

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:3987 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3987 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:410258 (410.2 KB)  TX bytes:410258 (410.2 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:123593 errors:0 dropped:0 overruns:0 frame:0
          TX packets:51103 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:65287362 (65.2 MB)  TX bytes:10418010 (10.4 MB)

q@ubuntu:~$

Must be some of E7495B Linux setting :-[
 

Offline 9aplus

  • Regular Contributor
  • *
  • Posts: 124
Re: Agilent E7495 linux root account
« Reply #46 on: February 24, 2015, 06:51:21 pm »
Well, after upgrade is done,
at last can use CF memory to get some measurement data out of E7495B

 

Offline 9aplus

  • Regular Contributor
  • *
  • Posts: 124
Re: Agilent E7495 linux root account
« Reply #47 on: February 24, 2015, 10:16:00 pm »
By the way,
any of you managed to set HW date/clock....

Can not figure what is set sintax?

Quote
[root@E749xx /root]$date -s
date: option requires an argument -- s
BusyBox v0.60.3 (2002.06.05-19:04+0000) multi-call binary

Usage: date [OPTION]... [+FORMAT]

Displays the current time in the given FORMAT, or sets the system date.

Options:
   -R      Outputs RFC-822 compliant date string
   -d STRING   display time described by STRING, not `now'
   -s      Sets time described by STRING
   -u      Prints or sets Coordinated Universal Time

[root@E749xx /root]$date -R
Fri, 21 May 2010 21:04:06 +0000
[root@E749xx /root]$hwclock
Fri May 21 21:42:30 2010  -0.969888 seconds


EDIT:
Later managed that sintax->
Quote
date -s 2015.02.24-22:29

When you are happy with your system time, remember to set hwclock too,
Set hardware clock to system time ->
Quote
hwclock -w

Useful link, it seems that good part of E7495B Linux distribution is sourced from here ->
http://busybox.net/downloads/BusyBox.html
http://busybox.net/downloads/
« Last Edit: February 24, 2015, 11:10:57 pm by 9aplus »
 

Offline Wuerstchenhund

  • Super Contributor
  • ***
  • Posts: 3055
  • Country: gb
Re: Agilent E7495 linux root account
« Reply #48 on: February 25, 2015, 06:34:17 am »


One of the things that annoy me with the E7495 is that the default setting for screen shots is a white background. It looks bad on the image above, but it's absolutely crap in other modes like SA mode where the line is in light green.

The setting can be changed in the setup but it has to be done for each mode, and even then will often revert back to white.

It would be great if someone figured out a way to make black background the default.
 

Offline Wuerstchenhund

  • Super Contributor
  • ***
  • Posts: 3055
  • Country: gb
Re: Agilent E7495 linux root account
« Reply #49 on: February 25, 2015, 06:40:31 am »
By the way,
any of you managed to set HW date/clock....

Yes, GPS does it automatically.

Quote

Useful link, it seems that good part of E7495B Linux distribution is sourced from here ->
http://busybox.net/downloads/BusyBox.html
http://busybox.net/downloads/

As far as I know it uses parts of BusyBox but apparently the Linux on the E7495B is based on an old SUSE Linux variant from around 2004.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf