run Expect in Netsight
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎10-28-2015 08:36 AM
Hi,
I've tried to follow the below KB article to run Expect on my Netsight 6.3 ...
https://extremeportal.force.com/ExtrArticleDetail?an=000082621
The problem is I get the following error if I install the expect package...
root@netsightvienna.mywlan.at:~$ apt-get install expect
Reading package lists... 0%
Reading package lists... 100%
Reading package lists... Done
Building dependency tree... 0%
Building dependency tree... 0%
Building dependency tree... 50%
Building dependency tree... 50%
Building dependency tree
Reading state information... 0%
Reading state information... 1%
Reading state information... Done You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
bind9 : Depends: libbind9-80 (= 1:9.8.1.dfsg.P1-4ubuntu0.6) but 1:9.8.1.dfsg.P1-4ubuntu0.8 is to be installed
Depends: libdns81 (= 1:9.8.1.dfsg.P1-4ubuntu0.6) but 1:9.8.1.dfsg.P1-4ubuntu0.8 is to be installed
Depends: libisc83 (= 1:9.8.1.dfsg.P1-4ubuntu0.6) but 1:9.8.1.dfsg.P1-4ubuntu0.8 is to be installed
Depends: libisccfg82 (= 1:9.8.1.dfsg.P1-4ubuntu0.6) but 1:9.8.1.dfsg.P1-4ubuntu0.8 is to be installed
Depends: liblwres80 (= 1:9.8.1.dfsg.P1-4ubuntu0.6) but 1:9.8.1.dfsg.P1-4ubuntu0.8 is to be installed
e2fsprogs : PreDepends: e2fslibs (= 1.42-1ubuntu2) but 1.42-1ubuntu2.2 is to be installed
expect : Depends: tcl8.5 (>= 8.5.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@netsightvienna.mywlan.at:~$
Could someone tell me how to solve that....
Thanks,
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎10-28-2015 12:28 PM
root@netsightvienna.mywlan.at:/usr/local/Enterasys_Networks/NetSight/scripts$ ./wlanshut.exp 10.12.0.1 mypassissecret PS4 disable
-bash: ./wlanshut.exp: /usr/bin/expect^M: bad interpreter: No such file or directory
root@netsightvienna.mywlan.at:/usr/local/Enterasys_Networks/NetSight/scripts$
So if there is a simple fix for it I'd appreciate some help...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎10-28-2015 12:28 PM
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎10-28-2015 12:28 PM
Unless, of course, you've already done that 🙂
Edited with a better link.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎10-28-2015 08:44 AM
apt-get cleanto install dep mods, then start installing packages.
apt-get update
apt-get -f
Refer here : http://ubuntuforums.org/showthread.php?t=1580857
