Connection Lyinksys srw with IOS 1.0.2 with Rancid

Hi all!!
I want to modify an already existing script that was used to
connect to a Linksys switch 1.0.4. or the switch I
have are version 1.0.2 and it is impossible to put
to update.
Here is the script version 1.0.4 is the csblogin
here
The difference between these two versions is just the login procedure.
But as I said to 1.0.2 the connection is different because
when I run the sript the program does not work.
There is only this part that I think is:
Code :
   1. "Login Screen" {
   2.       send "$user\t$passwd\r"
   3.       exp_continue
   4.         }
   5.      "Switch Main Menu" {
   6.       # send Ctrl+Z
   7.       sleep 1; send "send \032"
   8.       exp_continue
   9.     }
  10.      ">"  {
  11.       send "lcli\r"
  12.       exp_continue
  13.     }
  14.      -re "User Name:$" {
  15.                  send "$user\r"
  16.       exp_continue
  17.     }
  18.      -re "Password:$" {
  19.                  send "$passwd\r"
  20.       exp_continue
  21.     }
  22.
  23.      -re "$prompt"  { break; }
  24.     denied { send_user "\nError: Check your password for $router\n"
  25.                    catch {close}; catch {wait}; return 1
  26.                  }
  27. }
  28.      }
  29.
  30.      set in_proc 0
  31.      return 0
  32. }[/spoiler]
So to connect privilege must be a manipulation
completely different:
which gives literal:
Login Screen
     * "Input"
     * "$ User" <= variable in a predefined file next
     * "Tab"
     * "$ Passwd" <= predefined variable in a file next
     * "Esc" <= esc
     * "Tab"
     * "Input"
     * "Input"
Switch Main Menu
     * "Control + Z"
     * "Input"
>
     * "Lcli" <= mode shift focus
     * "$ User"
connected mode privilege
So when I mofidie the script that is not at all what I want.
Thank you for your help!
PA

These products are being handled by the Cisco Small Business Support Community. (URL: https://supportforums.cisco.com/community/netpro/small-business )

Similar Messages

  • I have a 3rd generation iPod Touch and just did the update to IOS 5. Now I can't connect to my Netgear wifi router. My iPhone connects fine along with all of my other laptops etc. I have the router set with WPA-PSK [TKIP] security and an access list.

    I have a 3rd generation iPod Touch and just did the update to IOS 5. Now I can't connect to my Netgear wifi router. My iPhone connects fine along with all of my other laptops etc. I have the router set with WPA-PSK [TKIP] security and an access list. I've confirmed the mac address is included on that list and that the password is correct. Under choses netwrok I select the network and it just goes into a spin. I have tried removing the password and the access list settings and it still will not complete the connection to the router thus no internet access. The routers firmware is also up to date. This thing worked fine before this update and I've already tried to restore from backup. Any ideas or is the wifi nic bad in this thing with the new apple firmware update? Any fix?

    Thanks Bob, I don't know why but it all of a sudden worked a few days later. It's a mystery but at least problem solved.

  • TS3694 pls help me guys ...i tried to update the new software update ios 7 but when i connected my iphone it took more then half hour to download but after it just shows me the icon on my iphone that connect ur iphone with itunes..it shows error(4005) hel

    i tried to upgrade to ios 7 but it shows error 4005...it took more then 45 mins to download but after it just shows an image on my iphone that connect ur phone with i tunes i tried it but there's nothing happening and now i cant even use my iphone....pls help me what to do????

    I have tried the steps to fix it but no solution! Please someone tell me what to do!

  • I am having issues with streaming music from iTunes on my MacBook Pro to my audio system through AirPlay.  Works perfectly with my iPod Touch.  The AirPlay icon appears irregularly in iTunes and when selected doesn't connect.  Running latest IOS software.

    I am having issues with streaming music from iTunes on my MacBook Pro to my audio system through AirPlay.  Works perfectly with my iPod Touch.  The AirPlay icon appears irregularly in iTunes and when selected doesn't connect.  Running latest IOS software.

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync all music and resync
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar          
    You said:
    No, I do not want to "factory reset" my iPod. No I do not wish to do anything crazy long or hard to fix this. 
    That may be necessary, It is not what you want to do/not do but what is required to resolve your problem.

  • HT4199 this still didn't fix iPad connectivity after updating to iOS 6.0.1 !!! intermittent wi-fi connection, even with a direct line-of-sight to the router.

    "HT4199: iOS and OS X: Recommended settings for Wi-Fi routers and access points"
    this still didn't fix iPad connectivity after updating to iOS 6.0.1 !!! intermittent wi-fi connection, even with a direct line-of-sight to the router.

    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are droping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    6. Potential Quick Fixes When Your iPad Won’t Connect to Your Wifi Network
    http://ipadinsight.com/ipad-tips-tricks/potential-quick-fixes-when-your-ipad-won t-connect-to-your-wifi-network/
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    Wi-Fi Fix for iOS 6
    https://discussions.apple.com/thread/4823738?tstart=240
    iOS 6 Wifi Problems/Fixes
    How To: Workaround iPad Wi-Fi Issues
    http://www.theipadfan.com/workaround-ipad-wifi-issues/
    Another Fix For iOS 6 WiFi Problems
    http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
    Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    How to Boost Your Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Boost-Your-Wi-Fi-Signal.h tm
    Troubleshooting a Weak Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/Troubleshooting-A-Weak-Wi-Fi-Sig nal.htm
    How to Fix a Poor Wi-Fi Signal on Your iPad
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
    iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Connect iPad to Wi-Fi (with troubleshooting info)
    http://thehowto.wikidot.com/wifi-connect-ipad
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • IPad 3 with iOS 6 fails to connect to WiFi with WPA2 and AES - any solutions available?

    Hello *,
    after upgrading my iPad 3 to iOS 6 it constantly fails to connect to WiFi with WPA2 and AES - hidden or broadcasted SSID - at home and at work because the device does not accept the WPA2 password. This is also the case for my iPhone 4S but both devices did work with WiFi (WPA2 / AES) perfectly with previously installed iOS 5.1.1.
    I tried to downgrade to iOS 5.1.1 but it seems to be no longer possible to downgrade for both iPad 3 and iPhone 4S as the certification and signage window for iOS 5.1.1 maybe has been closed by Apple.
    Does anyone know about a possible solution to connect to WiFi with WPA2 and AES with iPad 3 / iPhone 4S and iOS 6 upgrade?
    Thank you very much for any help and advise.
    Best regards from Germany
    Matthias

    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    Another thing to try - Go into your router security settings and change from WEP to WPA with AES.
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • Can i connect my ipad 2 (ios 6.1) with headphones sony mdr-1rbt bluetooth?

    can i connect my ipad 2 (ios 6.1) with headphones sony mdr-1rbt bluetooth?

    According to the Sony Web page for those particular eaphones, no. They aren't compatible with iOS 6.  Only iOS 5 and below.
    http://esupport.sony.com/US/p/model-home.pl?mdl=MDR1RBT&template_id=1&region_id= 1&tab=howto#/howtoTab
    Sony wrote:
    Are the headphones compatible with the Apple® iOS®6 operating system?
    Solution
    The headphones are compatible with Apple iOS5 and lower. They are not compatible with the Apple iOS6.
    Region
    Canada
    United States
    Products
    MDR1RBT
    Last Modified Date:12-05-2012ID:C1032819
    You can still try though, but there's no guarantee.

  • I can connect to internet with my MBP through Airport Extreme, but my iOS devices can't. Please help.

    I can connect to internet with my MBP through Airport Extreme, but my iOS devices can't. Please help.

    GerleMan, Welcome to the discussion area!
    There are two probably causes:
    Your ISP is blocking the port used by Entourage to send mail and the ISP used by the other wireless networks is not.
    OR
    Your ISP doesn't like OS X's default MTU seting of 1500. If this were the case it should also affect any large file transfers you try to make from your Mac to the Internet.

  • How do I connect my iPhone 4 iOS 6 to my tv with a composite cable? I already tried and just got sound no picture

    I bought a composite cable to connect my iPhone 4 iOS 6 to my tv so I can watch sky sports tv on it but when I connect it it just played sound no picture, I also tried new YouTube app and a video on my download manager app and same thing also tried on 2 TVs. So what's wrong what am I missing? The cable I got is a black amazon basic cable.
    Any help will be great

    I bought a composite cable to connect my iPhone 4 iOS 6 to my tv so I can watch sky sports tv on it but when I connect it it just played sound no picture, I also tried new YouTube app and a video on my download manager app and same thing also tried on 2 TVs. So what's wrong what am I missing? The cable I got is a black amazon basic cable.
    Any help will be great

  • How to connect my ipad with mac using bluetooth?

    how to connect my ipad with mac using bluetooth?

    You can't so quit trying. Take a look at this to see what is supported with regard to Bluetooth connections in iOS.
    iOS: Supported Bluetooth profiles

  • How to connect my E61 with computer using WLAN

    please tell me the full setting of WLAN how i can connect my computer with WLAN

    You can't so quit trying. Take a look at this to see what is supported with regard to Bluetooth connections in iOS.
    iOS: Supported Bluetooth profiles

  • Connect macbook pro with iphone 5 via bluetooth

    I have macbook pro and Iphone 5 both have bluetooth turned on. When I go in to Macbook Pro I can see my Iphone 5. When I go into my Iphone 5 it shows as discoverable and searching.....What am I doing wrong? The Macbook won't connect and sync with Iphone and vice versa unless I have a usb cable attached.

    Hello bstaab,
    Thank you for posting in the Apple Support Communities.  To wirelessly sync your iPhone with iTunes, you need to be connected using a Wi-Fi network.  I found an article that has the steps outlined on how to sync your iPhone wirelessly with iTunes:
    Wi-Fi syncing
    Open iTunes
    To set up Wi-Fi syncing, connect your iOS device to your computer with the included USB cable. Select your device under Devices on the left-hand side.
    In the Summary tab, select "Sync with this [device] over Wi-Fi".
    Whenever the computer and the iOS device are on the same network, the iOS device will appear in iTunes, and you can sync it. The iOS device will sync automatically when all of the following are true:
    The iOS device is plugged in to power
    iTunes is open on the computer
    The iOS device and the computer are on the same Wi-Fi network
    While the iOS device appears in the left-hand column of iTunes, you can select the content tabs and configure sync options.
    Click Apply or Sync to sync the iOS device.
    You can find the full article here:
    iOS: Syncing with iTunes
    http://support.apple.com/kb/ht1386
    I hope this helps!
    Best,
    Sheila M.

  • Can no longer connect to WiFi after IOS 7 update

    I own a small hotel. After updating to the new IOS, no one can connect to the WiFi network on their iPads or iPhones.
    Help!

    Too little info here to work with however ...
    1. Go to SETTINGS on your iphone, then to WI-FI
    2. Can you see any networks listed? If not, then you have a problem with your Wireless Router. Reset it and see if it appears.
    3. If you can see the wireless network, try to connect to it manually. If this works, then off you go. If not, then you need to tell me what wireless router it is before we can go much further. Also, are any other devices connecting successfully (ie: pre-iOS 7 handsets, Macs or PCs)?

  • Ipod was disabelled and needed connecting to itunes, with countless attempts  nothing happend therefore performed as reset, now instead of turning on and off,  ipod displays connect to itunes but is not recognised by computer nor will it connect to itunes

    ipod was disabelled and needed connecting to itunes, with countless attempts  nothing happend therefore performed as reset, now instead of turning on and off,  ipod displays connect to itunes but is not recognised by computer nor will it connect to itunes, try enabelling for restore but only connec to itunes is shown consistently

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen
    If recovery mode does not work try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • Everytime when i connect 3g internet with my laptop using USB (Windows 7) it creats new connection trailing network1, network2, network3.........

    Everytime when i connect 3g internet with my laptop using USB (Windows 7) it creats new connection trailing network1, network2, network3.........
    It does not recognise my old connection.
    Same case with wifi connection as well.
    Also after updating new IOS-5, whenever i make USB connection it does not display my name under my computer.
    But before it use to display my name now it is coming as Apple I-phone.
    Anyone who can help on this, how to get it resolved.
    - I have update my phone with backup (OLD version of IOS) but issue still presists.
    This is the same issue somone mention on below.
    http://www.sevenforums.com/network-sharing/193123-iphone-network-location-doesnt -save-when-disconnected.html
    Kind Regards
    @ru..

    If the message that is displaying is "Network connection timed out", disable any Anti-Virus or Firewall software on the comptuer or check with the company that supports the product on how to modify it to allow iTunes to connect to the Internet.

Maybe you are looking for