LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 04-11-2004, 09:37 AM   #1
OneManArmy
Member
 
Registered: Apr 2004
Location: Motherboard
Distribution: Debian GNU/Linux
Posts: 156

Rep: Reputation: 30
Help! Network doesnt work on boot (Woody)


I am having a problem with the network configuration.
each time I startup my computer I have to run

/etc/init.rd/networking restart

to get the network connection working. I have my
/etc/resolv.conf and /etc/network/interfaces configured
to reflect my static ip settings.

so is there any other scripts that I can edit so that I can
get the network running upon startup instead of entering
the previous command each time I boot the computer ???

I am using debian (woody).
thanx in advance
 
Old 04-11-2004, 02:51 PM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 48
Could you post your /etc/network/interface settings?
 
Old 04-11-2004, 03:27 PM   #3
OneManArmy
Member
 
Registered: Apr 2004
Location: Motherboard
Distribution: Debian GNU/Linux
Posts: 156

Original Poster
Rep: Reputation: 30
here they r where the * r just for screening .

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback
#iface eth0 inet dhcp
auto eth0
iface eth0 inet static
address ***.**.**.***
netmask ***.***.***.*
gateway ***.**.**.**


so what do u think?
 
Old 04-12-2004, 03:50 AM   #4
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 48
Quote:
Originally posted by OneManArmy
here they r where the * r just for screening .

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback
#iface eth0 inet dhcp
auto eth0
iface eth0 inet static
address ***.**.**.***
netmask ***.***.***.*
gateway ***.**.**.**


so what do u think?
You have have some lines missing - here's mine as example;

auto eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
network 192.168.0.1
broadcast 192.168.0.255
I would also remove the gateway unless you specifically want this. My connecction to the adsl router contains it;

auto eth1
iface eth1 inet static
address 10.0.0.10
netmask 255.0.0.0
network 10.0.0.0
broadcast 10.255.255.255
gateway 10.0.0.2

I think the problem is your lack of network address. You might also want to add names and addresses to your hosts file as well.

Last edited by TigerOC; 04-12-2004 at 03:52 AM.
 
Old 04-12-2004, 08:40 AM   #5
sims
Member
 
Registered: Mar 2004
Location: Australia
Distribution: Debian, Ubuntu
Posts: 55

Rep: Reputation: 15
Ehm, I think the /etc/init.d/networking script isn't running at boot.
If your network works after running /etc/init.d/networking restart, there is no need to edit /etc/network/interfaces.

In your /etc/rcS.d/ directory there should be a symbolic link:
S40networking -> ../init.d/networking

If it's not there try adding it, and then rebooting.

Last edited by sims; 04-12-2004 at 08:52 AM.
 
Old 04-12-2004, 09:31 PM   #6
OneManArmy
Member
 
Registered: Apr 2004
Location: Motherboard
Distribution: Debian GNU/Linux
Posts: 156

Original Poster
Rep: Reputation: 30
I solved finally the problem with upgrading the kernel from 2.4 to 2.6.

Thanx 4 ur help
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
network card doesnt work after i turn it off and on slinky2004 Slackware 5 09-24-2005 10:59 PM
Trying to install Fedora Core 3 with XP to dual boot - XP doesnt work anymore sabo Linux - Newbie 28 04-26-2005 10:21 AM
My network card doesnt work? Davicom DM9102AF chipset entob *BSD 7 08-19-2004 05:07 PM
network doesnt work on startup OneManArmy Linux - Networking 1 04-10-2004 12:03 PM
Network doesnt work on my Mandrake 9.1 box with Kernel 2.6.3 Klas Linux - Networking 2 03-02-2004 01:17 PM


All times are GMT -5. The time now is 10:47 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration