Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 03-28-2004, 07:07 PM   #1
Registered: Dec 2003
Location: Australia
Distribution: Woody, Sarge, Sid
Posts: 83

Rep: Reputation: 15
Question How to disable serial line

I just installed Sarge using the new installer.
It was fantastic.
But, it installed kernel 2.6.3 with serial line support, which made me unable to
talk to the network because everytime I sent something to the network, the system always sent it through sl0 interface, which is forbiden by the firewall(shorewall)

How can I get rid of this annoying sl0? I do not know what it does and I do not want to know. Can I disable/remove it without recompiling the whole kernel?

Old 03-31-2004, 09:32 PM   #2
Registered: Sep 2002
Location: IN, USA
Distribution: Debian, Endian FW
Posts: 368

Rep: Reputation: 30
Never played with serial stuff, but what the heck.....

You can see if there is a module loaded with lsmod? Then if there is you can rmmod it and then edit your /etc/modules to get rid of it?

Does the serial or sl0 show up as a net device...if you run ifconfig is it listed?
Old 05-28-2004, 03:10 AM   #3
Registered: Dec 2003
Location: Australia
Distribution: Woody, Sarge, Sid
Posts: 83

Original Poster
Rep: Reputation: 15
lsmod shows me slip and slhc.
I tried to rmmod them but it complaint: device busy

It looks like a network device. ifconfig shows it as sl0 and it has ip address and everything.
But in /etc/network/interfaces, there is no sl0
Therefore, system says it is not configured when I ifdown sl0

Can anyone help me out? I do not want to compile kernel for every single sarge+shorewall installation!!
Thanks a lot!

p.s. I do not understand why debian team would install this serial line thing.
It appears in every new debian kernel image. What does it really do??!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to disable beep in command line Backstander Linux - General 6 09-12-2004 02:11 PM
How to disable Serial Line IP ( sl0 ) mairul Linux - Newbie 7 12-21-2003 06:02 AM
Disable Hardware Flow Control at serial port DJ_Cyberdance Linux - Hardware 0 11-27-2003 02:00 AM
Serial line is looped back? Unknown_User Linux - Hardware 1 02-28-2003 08:31 PM
serial line is not 8 bit clean thunderrooster Linux - General 0 01-31-2002 08:17 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration