LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-07-2013, 04:47 AM   #1
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 218

Rep: Reputation: 27
Network not starting post boot up/reboot


Every time i (re)start my computer the network has to be started manually using ifup command.

The following is the output of lspci:
Code:
#lspci|grep -i ethernet
02:09.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5703X Gigabit Ethernet (rev 02)
03:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
The output of lsmod is:
Code:
# lsmod
Module                  Size  Used by
bnep                   17288  2 
bluetooth             103791  7 bnep
rfkill                 18516  3 bluetooth
nfsd                  173773  2 
nfs                   265811  0 
nfs_acl                12463  2 nfs,nfsd
auth_rpcgss            32143  2 nfs,nfsd
fscache                31978  1 nfs
lockd                  57277  2 nfs,nfsd
sunrpc                143940  6 lockd,auth_rpcgss,nfs_acl,nfs,nfsd
loop                   17810  0 
radeon                570909  2 
ttm                    42997  1 radeon
drm_kms_helper         22699  1 radeon
drm                   134220  4 drm_kms_helper,ttm,radeon
snd_intel8x0           22372  2 
snd_ac97_codec         84236  1 snd_intel8x0
power_supply           13283  1 radeon
i2c_algo_bit           12713  1 radeon
i2c_amd756             12481  0 
snd_pcm                53461  2 snd_ac97_codec,snd_intel8x0
amd_rng                12493  0 
snd_page_alloc         12867  2 snd_pcm,snd_intel8x0
psmouse                54961  0 
pcspkr                 12515  0 
serio_raw              12803  0 
i2c_amd8111            12581  0 
rng_core               12580  1 amd_rng
k8temp                 12575  0 
mperf                  12421  0 
snd_timer              22356  1 snd_pcm
snd                    42722  8 snd_timer,snd_pcm,snd_ac97_codec,snd_intel8x0
soundcore              12921  1 snd
ac97_bus               12462  1 snd_ac97_codec
joydev                 17010  0 
i2c_core               19116  6 i2c_amd8111,i2c_amd756,i2c_algo_bit,drm,drm_kms_helper,radeon
evdev                  17225  9 
parport_pc             22036  0 
parport                31254  1 parport_pc
shpchp                 26717  0 
processor              27565  0 
thermal_sys            17752  1 processor
button                 12817  0 
ext4                  302815  5 
crc16                  12327  2 ext4,bluetooth
jbd2                   52288  1 ext4
mbcache                12938  1 ext4
sg                     21476  0 
sd_mod                 35425  7 
crc_t10dif             12332  1 sd_mod
ata_generic            12439  0 
usbhid                 31554  0 
hid                    60152  1 usbhid
sata_sil               12788  0 
pata_amd               13114  6 
libata                125014  3 pata_amd,sata_sil,ata_generic
ohci_hcd               22059  0 
ehci_hcd               35509  0 
usbcore               104503  4 ehci_hcd,ohci_hcd,usbhid
scsi_mod              135037  3 libata,sd_mod,sg
firewire_ohci          26784  0 
firewire_core          38753  1 firewire_ohci
floppy                 48087  0 
tg3                   109180  0 
libphy                 18521  1 tg3
crc_itu_t              12331  1 firewire_core
8139too                22028  0 
8139cp                 22245  0 
mii                    12595  2 8139cp,8139too
usb_common             12338  1 usbcore
tg3 is loaded, if I am not wrong, it is the module for the NIC. I am using Debian 7 (Testing) with the stock kernel (3.2.0-4-686-pae).

what could i be missing here?
 
Old 01-07-2013, 07:38 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
What do you have in /etc/network/interfaces ?
 
Old 01-08-2013, 12:27 AM   #3
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 218

Original Poster
Rep: Reputation: 27
It has the settings for lo and eth1 (the computer has two NICs)

Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
#iface eth0 inet static
#	address 192.168.1.169
#	netmask 255.255.255.0
#	network 192.168.1.1
#	broadcast 192.168.1.255
#	gateway 192.168.1.1
	# dns-* options are implemented by the resolvconf package, if installed
#	dns-nameservers 8.8.8.8

iface eth1 inet static
	address 192.168.1.169
	netmask 255.255.255.0
	network 192.168.1.1
	broadcast 192.168.1.255
	gateway 192.168.1.1
	# dns-* options are implemented by the resolvconf package, if installed
	dns-nameservers 8.8.8.8
 
Old 01-08-2013, 06:58 AM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
Maybe add eth1 to the auto line
 
1 members found this post helpful.
Old 01-11-2013, 04:40 AM   #5
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 218

Original Poster
Rep: Reputation: 27
@kbp: that fixed it, wonder how i missed it...i need some coffee thanks
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Having trouble starting network at boot-up from a script. Zombie13 Puppy 3 02-11-2009 02:06 PM
Starting wireless network at boot sqwiggly Linux - Wireless Networking 1 07-31-2007 02:55 PM
How would I stop gnome network manager from starting during boot? Nemus Linux - Software 1 05-17-2007 01:25 PM
starting network device at boot afrodocter Linux - Software 2 06-18-2004 03:51 PM
Starting Network Interface after boot verdeboy2k Slackware 3 02-20-2004 10:47 PM


All times are GMT -5. The time now is 10:23 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration