LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[CLUG] manually configuring internet access

[CLUG] manually configuring internet access

David Dorgan davidd at sponge.xevion.net
Fri Nov 14 15:30:08 GMT 2003


Quoting Hooton, Gerard (G.Hooton at ucc.ie):
> What must be done to make this work after a reboot?

Depends, in say debian, a fair place would be,
/etc/init.d/networking

at the end of the file put

echo 'starting custom networking'
ifconfig eth0 192.168.1.5 255.255.255.0
echo 'starting custom routing'
route add -net 0.0.0.0 gw 192.168.1.1 

for example. Also the resolv.conf won't change,
if want dhcp on startup, just put 

echo 'starting dhcp client'
dhclient

Mind you, there are generally better ways
to do this than what I described above,
but most are distro dependent, what's in this
email should work on any (mind you, won't come up in
their GUI config tools etc).

David.



More information about the Cork mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell