Unix Technical Forum

how to permanently set gw after reboot

This is a discussion on how to permanently set gw after reboot within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> G'day, it is o'right to delete a default gw eth0 #route del default gw 192.168.xxx.xxx but after reboot my ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 01:55 PM
Dieu Phan
 
Posts: n/a
Default how to permanently set gw after reboot

G'day,
it is o'right to delete a default gw eth0
#route del default gw 192.168.xxx.xxx
but after reboot my slackBox the default gateway eth0 turns on
how can i set it "permanently" 'off' so my roommates can dialup internet
using ppp-go from XP client?
very appreciated
have a good day!
dieu
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 01:55 PM
Jeffrey Froman
 
Posts: n/a
Default Re: how to permanently set gw after reboot

Dieu Phan wrote:

> it is o'right to delete a default gw eth0
> #route del default gw 192.168.xxx.xxx
> but after reboot my slackBox the default gateway eth0 turns on
> how can i set it "permanently" 'off' so my roommates can dialup internet
> using ppp-go from XP client?


Comment out the "gateway_up" line in /etc/rc.d/rc.inet1, like so:

*) # The default is to bring up all interfaces:
lo_up
eth_up 0
eth_up 1
eth_up 2
eth_up 3
# gateway_up

Happy Slacking,

Jeffrey
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 01:55 PM
Dieu Phan
 
Posts: n/a
Default Re: how to permanently set gw after reboot

Jeffrey Froman wrote:

> Dieu Phan wrote:
>
>
>>it is o'right to delete a default gw eth0
>>#route del default gw 192.168.xxx.xxx
>>but after reboot my slackBox the default gateway eth0 turns on
>>how can i set it "permanently" 'off' so my roommates can dialup internet
>>using ppp-go from XP client?

>
>
> Comment out the "gateway_up" line in /etc/rc.d/rc.inet1, like so:
>
> *) # The default is to bring up all interfaces:
> lo_up
> eth_up 0
> eth_up 1
> eth_up 2
> eth_up 3
> # gateway_up
>
> Happy Slacking,
>
> Jeffrey

Thanks Jeff,
i am so far quite happy with slakBox and ofcoz' with slackgroup, it is
so helpful and friendly..
a slack(er) for entertainment never says g'bye with slackGroup
cheers
dieu
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:09 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com