Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Network/kernel problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
denvicar
n00b
n00b


Joined: 08 Nov 2015
Posts: 4

PostPosted: Sun Nov 08, 2015 1:25 pm    Post subject: Network/kernel problems Reply with quote

Ok so, I've finished gentoo installation but I can't get to work my network. During the installation i was able to connect to my network with wpa_supplicant and net-setup, wired connection wouldn't work. When I reboot into Gentoo I can't see my network device, so I made some mistakes in setting the kernel, but I don't know what to do. Please help me :D
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43175
Location: 56N 3W

PostPosted: Sun Nov 08, 2015 1:36 pm    Post subject: Reply with quote

denvicar,

Welcome to Gentoo.

You will be pleased to know that you have done the difficult bit. :)

To help you we need to know what network devices you have.
They may be listed in the output of
Code:
lspci

Some wifi devices are on the USB bus, even if they are internal.
They will show in
Code:
lsusb


Run those commands and tell us the network interfaces.
You have probably not installed pciutils and usbutils in your own install yet so run these commands from your install media.
There is no need to chroot.

You might like to make friends with
Code:
wgetpaste
to post the command output too. Its not required yet but it probably will be later.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Sun Nov 08, 2015 1:40 pm    Post subject: Reply with quote

denvicar ...

not really enough information to say what the issue might be, please provide the output of the following commands:

Code:
# lspci -v | awk -v RS= '/Ether/{print $0 "\n"}'
# ifconfig -a
# ls -l /etc/init.d/net*

You might also scower dmesg for any mention of the device, firmware loading, etc.

best ... khay
Back to top
View user's profile Send private message
denvicar
n00b
n00b


Joined: 08 Nov 2015
Posts: 4

PostPosted: Sun Nov 08, 2015 2:38 pm    Post subject: Reply with quote

Lspci
Code:

00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 540M] (rev a1)
02:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe (rev 01)
03:00.0 Network controller: Qualcomm Atheros AR9287 Wireless Network Adapter (PCI-Express) (rev 01)
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
ff:02.1 Host bridge: Intel Corporation 1st Generation Core Processor QPI Physical 0 (rev 02)
ff:02.2 Host bridge: Intel Corporation 1st Generation Core Processor Reserved (rev 02)
ff:02.3 Host bridge: Intel Corporation 1st Generation Core Processor Reserved (rev 02)

Lsusb gives command not found

lspci -v | awk -v RS= '/Ether/{print $0 "\n"}'
Code:
02:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe (rev 01)
   Subsystem: Acer Incorporated [ALI] NetLink BCM57780 Gigabit Ethernet PCIe
   Flags: fast devsel, IRQ 16
   Memory at d4800000 (64-bit, non-prefetchable) [size=64K]
   Capabilities: [48] Power Management version 3
   Capabilities: [60] Vendor Specific Information: Len=6c <?>
   Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
   Capabilities: [cc] Express Endpoint, MSI 00
   Capabilities: [100] Advanced Error Reporting
   Capabilities: [13c] Virtual Channel
   Capabilities: [160] Device Serial Number 1c-75-08-ff-fe-42-11-7d
   Capabilities: [16c] Power Budgeting <?>
   Kernel modules: tg3


ifconfig -a
Code:
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 2  bytes 140 (140.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2  bytes 140 (140.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.104  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::3845:60e8:2a68:a7f6  prefixlen 64  scopeid 0x20<link>
        ether 18:f4:6a:03:94:74  txqueuelen 1000  (Ethernet)
        RX packets 126  bytes 46804 (45.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 79  bytes 15132 (14.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


ls -l /etc/init.d/net*
Code:
lrwxrwxrwx 1 root root     6 Nov  8 15:10 /etc/init.d/net.eth1 -> net.lo
lrwxrwxrwx 1 root root     6 Nov  8 15:10 /etc/init.d/net.eth2 -> net.lo
lrwxrwxrwx 1 root root     6 Nov  8 15:10 /etc/init.d/net.eth3 -> net.lo
lrwxrwxrwx 1 root root     6 Nov  8 15:10 /etc/init.d/net.eth4 -> net.lo
-rwxr-xr-x 1 root root 17415 Sep 17 04:47 /etc/init.d/net.lo
-rwxr-xr-x 1 root root  1209 Sep 24 06:14 /etc/init.d/netmount


I ran all of these in the livecd environment where my connection works fine with wpa_supplicant.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43175
Location: 56N 3W

PostPosted: Sun Nov 08, 2015 4:44 pm    Post subject: Reply with quote

denvicar,

Code:
02:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe (rev 01)
03:00.0 Network controller: Qualcomm Atheros AR9287 Wireless Network Adapter (PCI-Express) (rev 01)


That's the bit we needed

Your BCM57780 Gigabit Ethernet needs the Tigon3 support in the kernel.
The Qualcomm Atheros AR9287 uses the Ath9k driver. I don't recall if it needs firmware or not.

Its safe to build Tigon3 support into the kernel - select <*>
For wifi, make it work first, so for now, choose <M>
Hint: in menuconfig, press / to search.

Go back into your chroot, rebuild and reinstall your kernel.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
denvicar
n00b
n00b


Joined: 08 Nov 2015
Posts: 4

PostPosted: Sun Nov 08, 2015 5:01 pm    Post subject: Reply with quote

I had the wrong Atheros drivers... Now it works, thank you! :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum