Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-27-2007, 04:05 PM
|
#1
|
LQ Newbie
Registered: Jan 2007
Posts: 4
Rep:
|
Unable to connect to Cisco devices via console/USB cable
Hi All
I'm trying to connect to various Cisco Routers and switches via a Cisco roll/console cable. My Laptop (Fujitsu Siemens Amilo D, dual boots Win XP and Novell SLED 10.1 works great under Windows, but having trouble under SLED10) doesn't have a native 9 pin serial port(s), so I'm trying to use a USB to Serial adapter cable via one of the USB ports. I've done some online searches, and as I understand it I need to ensure that my USB cable/roll cable is recognized. First of all I don't know how to do this. Secondly I need to install and configure a terminal emulation program like Minicom to set up the port/cable parameters. Again I don't know how to do this, (sorry guys I'm a bit of a Linux newbie). Can anyone help ??
Cheers
Nevski
|
|
|
08-27-2007, 04:33 PM
|
#2
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep:
|
lsusb should tell you if the USB to serial converter is identified..
heres a how-to on the topic
http://useopensource.blogspot.com/20...-in-linux.html
|
|
|
08-27-2007, 04:35 PM
|
#3
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
well the rollover cable is a non issue.. you can't "recognise" it... it's just some wires. the usb adapater is the difference... you've not said what the device is.. quite likely it'll be supported by the usb-serial module... http://www.linux-usb.org/USB-guide/x356.html after that's loaded and dmesg says it's there (presumably listed by lsusb too) then just use minicom or c-kermit to conect to /dev/ttyUSB0 (i expect that's the right device name) and off you go. minicom looks simplest and nicest, but as you get mre used to it, you'll probably prefer c-kermit any day of the week.
|
|
|
08-29-2007, 06:19 PM
|
#4
|
LQ Newbie
Registered: Jan 2007
Posts: 4
Original Poster
Rep:
|
Hi Guys
Thanks for your help. Farslayer, I've followed the instructions in your link. It seemed pretty straight forward. However, when I ran the command "sudo minicom", I thought I would be looking at my switch prompt, however; I received the following message "minicom:cannot open /dev/ttys0: input/output error". In the instructions it recommends buying a USB to serial adapter that supports linux. I'm not sure if mine does is supported under linux and if this is the root of my problem. Any help as to what this error message is and how to resolve it would be appreciated.
Acid_kewpie, I've taken a look at your link and to be honest I wouldn't know how to go about implementing that stuff. The device that was reported when I ran "dmesg | grep tty" was "ttyS0". I'm not sure how to change it to "ttyUBS0" if thats what I need to do. Any help would be appreciated.
Thanks
Nevski
|
|
|
08-29-2007, 09:15 PM
|
#5
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep:
|
if you do the dmesg | grep tty with the usb to serial adapter removed from the laptop, does it still show ttyS0 ?
Just trying to figure out if the tty device you are seeing is actually the usb-to-serial converter or if it's something else in the laptop.
|
|
|
08-30-2007, 03:22 PM
|
#6
|
LQ Newbie
Registered: Jan 2007
Posts: 4
Original Poster
Rep:
|
Thanks for getting back to me Farslayer.
I've managed to sort it. I searched on line using some of the error message "/dev/ttys0: input/output error" as a search string. I found some one else who had a very similar problem, turns out that instead of typing S0 in minicom I typed s0. So, basically minicom didn't recognise the device name reported by "dmesg | grep tty". I've corrected this and am up and running. Now I can get on with my CCIE.
Thanks again for your help.
Oh....... I've got another long running issue with my SLED10 install. Do you know where I can get hold of the most up to date copy of NDISWRAPPER. If so do let me know, I've struggled for ages to get my wireless adapter to work under Linux, and I think I need to upgrade to the newest version.
Take care
Nevski
|
|
|
All times are GMT -5. The time now is 10:58 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|