LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Network not starting post boot up/reboot (https://www.linuxquestions.org/questions/linux-newbie-8/network-not-starting-post-boot-up-reboot-4175444467/)

austinium 01-07-2013 03:47 AM

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?

kbp 01-07-2013 06:38 AM

What do you have in /etc/network/interfaces ?

austinium 01-07-2013 11:27 PM

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


kbp 01-08-2013 05:58 AM

Maybe add eth1 to the auto line

austinium 01-11-2013 03:40 AM

@kbp: that fixed it, wonder how i missed it...i need some coffee ;) thanks :)


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