SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-04-02 14:36:28

BlundaKat
Member
Registered: 2010-11-16
Posts: 13

Network

Hello

I am having issues getting my network card to work with the latest crunchbang.

After plugging the network card in the orange and green lights flash which would suggest the card is working. I have entered lspci in the terminal and it does show an ethernet controler (I assume this means it has detected the card at least?). I have looked in /etc/network/interface and there is no eth0 in it just lo. I did try adding:

auto eth0
iface eth0 inet dhcp

After rebooting the laptop it still isnt working. I am very new to this so there is obviously somthing I am missing or not understanding properly. Any guidence would be much appreciated.

Offline

Help fund CrunchBang, donate to the project!

#2 2011-04-02 15:34:15

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,825
Website

Re: Network

what happens if you execute

sudo /etc/init.d/networking restart 

in the terminal?

please also post the output of

cat /etc/network/interfaces

Are you using a router? Do you have ADSL/PPP?

Last edited by machinebacon (2011-04-02 15:35:35)


Sweaty lads picking up the soap | I love the new "Ignore user" button

Offline

#3 2011-04-02 16:05:43

BlundaKat
Member
Registered: 2010-11-16
Posts: 13

Re: Network

Running:

sudo /etc/init.d/networking restart 

I get:

Running /etc/init.d/networking restart is deprecated because it may not enable a
gain some interfaces ... (warning).
Reconfiguring network interfaces...Internet Systems Consortium DHCP Client 4.1.1 -P1

Copyright yada yada yada
all rights reserved etc

SIOCSIFADDER: no such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No Such Device
Bind socket to interface: No such device
Failed ro bring up eth0.
done. 

Running:

cat /etc/network/interfaces

I get:

# 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

I tried to enter the below into the file manualy but this didnt help:

auto eth0
iface eth0 inet dhcp

Offline

#4 2011-04-02 16:31:05

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,825
Website

Re: Network

ok, eth0 is not found. Maybe the kernel module is not loaded - what does

lspci | grep net

show? Also please post the output of

lsmod

. Thanks!


Sweaty lads picking up the soap | I love the new "Ignore user" button

Offline

#5 2011-04-02 16:55:24

BlundaKat
Member
Registered: 2010-11-16
Posts: 13

Re: Network

:~$ lspci | grep net
02:08.0 Ethernet Controller: Intel Corporation 82801BA/BAM/CA/CAM Ethernet Controller (Rev 42)

I dont currently have the means to copy across the lsmod result and it will take forever to copy out the full list, is there somthing specific you are looking for?

Last edited by BlundaKat (2011-04-02 16:55:51)

Offline

#6 2011-04-02 17:04:43

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,825
Website

Re: Network

Nothing specific, just a look into the loaded modules.
Do I understand right that it is a PCI network card? Or is it something like a PCMCIA, USB, ....?


Sweaty lads picking up the soap | I love the new "Ignore user" button

Offline

#7 2011-04-02 17:13:19

BlundaKat
Member
Registered: 2010-11-16
Posts: 13

Re: Network

its an on-board laptop network card

Offline

#8 2011-04-02 17:41:11

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,825
Website

Re: Network

can you post the output of

ifconfig -a

? Maybe your adapter should be eth1

Edit: You said it is on-board? Any possibility that it is disabled in your BIOS? Please check in your BIOS Setup (depending on your motherboard: boot the PC and hit F2, Backspace, ...) and see if you have a "Onboard Network Adapter Disbaled/Enabled" option

Last edited by machinebacon (2011-04-02 17:45:00)


Sweaty lads picking up the soap | I love the new "Ignore user" button

Offline

#9 2011-04-02 17:46:15

BlundaKat
Member
Registered: 2010-11-16
Posts: 13

Re: Network

Ive done that already, it only shows lo and pan0. Which is strange because I was under the impression that pan0 was a bluetooth device, which my laptop defiantly wont have.

Offline

#10 2011-04-02 17:55:01

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,825
Website

Re: Network

^ i added an "Edit":
"Any possibility that it is disabled in your BIOS? Please check in your BIOS Setup (depending on your motherboard: boot the PC and hit F2, Backspace, ...) and see if you have a "Onboard Network Adapter Disbaled/Enabled" option"


Sweaty lads picking up the soap | I love the new "Ignore user" button

Offline

#11 2011-04-02 18:14:55

BlundaKat
Member
Registered: 2010-11-16
Posts: 13

Re: Network

Would make sense if that was the case but I cant find any options in the bios to enable or disable it. I guess I could look at updating the bios.

Offline

#12 2011-04-02 18:36:23

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,825
Website

Re: Network

What if we load the E100 driver manually:

sudo modprobe e100

and then restart the network again with 

sudo /etc/init.d/networking restart

Sweaty lads picking up the soap | I love the new "Ignore user" button

Offline

#13 2011-04-03 10:02:39

BlundaKat
Member
Registered: 2010-11-16
Posts: 13

Re: Network

That didnt work either, just got the same error as before when restarting the network.

I will attempt to flash the bios and see if that helps

Offline

#14 2011-04-03 10:56:42

brickuz
Member
From: Sweden
Registered: 2011-03-23
Posts: 40

Re: Network

Have your NIC worked in any other distro? In that case, consider running that distro as a live usb (or cd/dvd) if available, and check if there are any differences in driver versions or so.

Offline

#15 2011-04-03 11:32:56

BlundaKat
Member
Registered: 2010-11-16
Posts: 13

Re: Network

Im not sure that it has.

I originaly had a cut down version of xp running on it and im certain it worked then, although thinking about it, by the time I decided to install linux I think it had stoped working, which is why its leading me to belive its a bios issue. I need to flash the bios to see. Unfortunatly HP only supply exes so Ive got to find a way of setting up a boot cd.

Offline

#16 2011-04-04 16:28:08

peterg
New Member
Registered: 2011-04-04
Posts: 2

Re: Network

Hi,

I have installed Crunch Bang and am having the same problem (tried the remedies so far in this thread - no luck).  My network light came on during installation, but the network is not recognised now I have booted from the hard disk.

Lubunto recognised it ok during installation (but that installation failed elsewhere) and Ubunto also recognised it automatically (but ran far too slowly, which is why I have switched to Crunch Bang).

Laptop is old Packard Bell Easy One with a 3Com Megahertz 10/100 LAN PCMCIA PC Card 3CCFE574BT network adapter.

Any ideas?

Offline

#17 2011-04-04 17:01:57

peterg
New Member
Registered: 2011-04-04
Posts: 2

Re: Network

Just found the answer for my Packard Bell - The pcmiamutils needed to be installed!

Thanks to this post ...  http://crunchbanglinux.org/forums/topic … o-you-all/

Offline

#18 2011-04-04 20:49:09

BlundaKat
Member
Registered: 2010-11-16
Posts: 13

Re: Network

Mine is not a PCMCIA card, its onboard

I still think it could be the bios but not running windows and not having a floppy drive on the laptop it proving very difficult. especially seeing that the floppy boot disk image supplied by compaq wont mount!?

I downloaded the floppy boot bios flash and ran the exe using wine so it extracted the files to temp. This gave me amongst other things an .img file which was 1.44 Mb in size, Which you would have thought would be fine but when I try to mount it with this:

sudo mount -o loop -t vfat F1B.IMG /tmp/floppy

But it says:

mount: wrong fs type, bad option, bad superblock on /dev/loop1,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

any suggestions?

Offline

#19 2011-04-05 08:58:59

BlundaKat
Member
Registered: 2010-11-16
Posts: 13

Re: Network

I fixed the bios flash boot floppy and flashed the bios. unfortunatly this did not help at all! sad any other ides?

Offline

#20 2011-12-07 16:09:22

rzelnik
New Member
Registered: 2011-12-07
Posts: 2

Re: Network

Hi folks, I have the same issue with IBM ThinkPad 600E & pcmcia ethernet card. It's strange but I tried Debian, Ubuntu, Arch and it works well in these distros, the network activates automatically without any workaround. Btw, my ifconfig -a also shows pan0, although I don't have any bluetooth adapter.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo