LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-18-2003, 04:12 AM   #1
N_A_J_M
Member
 
Registered: Aug 2002
Location: Whangarei New Zealand
Distribution: Slack 8.1
Posts: 300

Rep: Reputation: 30
route del -net


this is it, everytime i connect to the net i have to dial up once, when i have established a connection with my isp, i then have to do a:
Code:
route del -net 0.0.0.0
if i dont do this i cant browse the net, after doing this i have to disconnect and reconnect, then i can surf away!

anyways up until now i have put up with doing it this way, but now i think its time to fix this up :P

anyone know how to make this permanent? (im using slackware8.1 )

if you could explain this little fix a bit to me (it would be much appreciated)

cheers
 
Old 03-18-2003, 06:20 AM   #2
niknah
Member
 
Registered: Dec 2002
Location: In front of a computer
Distribution: UPS, DHL, FedEx
Posts: 466

Rep: Reputation: 38
it looks like there's another interface that's set as the default gateway on your computer.

before you connect up, type...
/sbin/route -n

and look up 0.0.0.0 in the destination column, look at the interface column on that line.
And you'd have to stop that interface from being the default gateway.
I'm not sure where this is in slackware, in redhat it's in /etc/sysconfig/network or /etc/sysconfig/network-scripts/ifcfg-...
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot route del ciscohead Linux - Networking 2 10-03-2005 09:53 AM
analyzing /proc/net/route output cranium2004 Linux - Networking 2 10-27-2004 07:48 AM
route traffic onto the net from a lan gateway ulto Linux - Networking 1 04-13-2004 08:54 PM
route add net frizzi Linux - Networking 4 06-06-2003 06:49 AM
Route add -net & mandrake 9 80s Linux - Networking 3 04-02-2003 12:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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