Operating System - Linux
1827290 Members
3925 Online
109717 Solutions
New Discussion

Internet access at boot up

 
Vernon Brown_4
Trusted Contributor

Internet access at boot up

I have newly installed Linux SuSE 9 on an HP 8500 that I'm using now to access the internet. I want it to connect to the internet when it boots up. Right now, as the boot log scrolls down during boot, the eth0 -> dsl0 entry seems to time out. After boot up I can click a little connector icon in the task bar and it connects.I configured using YaST and haven't yet found the actual boot up script or config files;like pppoe in RH 7.1Any ideas where I can look .Vern
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Internet access at boot up

A little outside my confort zone but.

/etc/sysconfig/network-scripts

or Suse equivalent.

There is a ifcfg-eth0 file

put a valid gateway statement in it

gateway=192.168.0.1

make sure /etc/resolv.conf has valid entries and the servers respond. Use dig to test.

service network restart

restart networking

You should be on the Inernet no problem.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Vernon Brown_4
Trusted Contributor

Re: Internet access at boot up

Thanks Steven; getting there slowly. Service( service network restart ) doesn't work. service is not recognized as a command. Found some configs in /etc/sysconfig but network scripts are strung out in multiple directories under a main directory: networkSuSE has a bad case of re-direction itus. Don't know if I will stick with it.Vern
Vernon Brown_4
Trusted Contributor

Re: Internet access at boot up

Well; I hate to admit it but I seem to have it working now. Resorted to the YaST GUI config tool; pulled up network > dsl device > connect at boot > remain connected permently.What's the world comming to ?? I still don't know where anything is !!
Steven E. Protter
Exalted Contributor

Re: Internet access at boot up

Gee, i thought the ifcfg-eth0 file was cross platform compatible.

If there is a net or network script in /etc/init.d or wherver Suse puts it you should be able to do this

/etc/init.d/net stop
/etc/init.d/net start

/etc/init.d/network stop
/etc/init.d/network start

You should actually be able to script port the service command from RH Linux. I've ported it to hpux.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Vernon Brown_4
Trusted Contributor

Re: Internet access at boot up

Thanks Steven; the server connects at bootup now and seems to hold the connection so I'll move on to the other issues for now. I did find the ifup and ifcfg scripts- Having trouble formating this text so that it is readable :o) -- Thanks again; Vern