aptosid.com

Hardware - No lan device detected when booting from ISO

hy - 19.02.2015, 19:40
Post subject: No lan device detected when booting from ISO
Hi,
I just bought me a new laptop. Partitioned and installed aptosid but there are no wlan devices.
Is there a trick to force it?Ceni show no hardware interfaces... (-;
hy - 19.02.2015, 19:46
Post subject: RE: No lan device detected when booting from ISO
sorry I posted the wrong output here see below for the actual output
hy - 19.02.2015, 20:02
Post subject: RE: No lan device detected when booting from ISO
I would like to
apt-get install firmware-atheros
but in this case I need a cable ...

ok found a cable still there are no hardware interfaces.
See

http://abload.de/image.php?img=clj00128a3jzy.jpg
slh - 19.02.2015, 22:28
Post subject: RE: No lan device detected when booting from ISO
Both should work, as neither are (at least should not be) too new for the kernel in our last release, but in the worst case you can provide an updated kernel via USB stick (or other means of storage) from http://aptosid.com/debian/pool/main/l/linux-aptosid/. firmware-atheros is not needed for your device, firmware-realtek might be (for the wired interface); of course this only applies after you've installed to HDD.
slh - 20.02.2015, 05:25
Post subject: RE: No lan device detected when booting from ISO
Just to be clear, the hardware you're mentioning is pretty standard (and not too new) hardware which should be well supported (including our last release), without many needs for non-free firmware (only the ethernet card might, but doesn't necessarily - only some RealTek ethernet cards use external firmware in the first place and for many of those which do, the firmware tends to be semi-optional, fixing bugs in the original in-chip firmware (like line training), thereby only improving compatibility). Updating to a newer kernel might improve the chances for getting it to work, but it shouldn't be necessary for these particular devices.

It would also be interesting if the network cards are detected on a lower level, e.g. "ip a" and "/sbin/iw list".
hy - 20.02.2015, 10:25
Post subject: RE: No lan device detected when booting from ISO
Hi slh,
/sbin/iw list
doesn't output anything
and
      Code:

ip a
1: lo: <LOOPBACK> mtu 65536 qdisc noqueue state UNKNOWN
link loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever


How do I get the new kernel installed (never did that manually)?
finotti - 20.02.2015, 11:07
Post subject: RE: No lan device detected when booting from ISO
I think you can just copy the .deb file of the kernel image (and headers?) and install by
      Code:

dpkg -i <deb>

hy - 20.02.2015, 13:07
Post subject: RE: No lan device detected when booting from ISO
No, I am getting
error processing linux-image-aptosid-686 3.19.1
dpkg: dependency problems prevent configuration ...

When tryin linux-image-3.19.0-0.slh.1-aptosid*.deb
I am getting installing linux-image-3.19.0-0.slh.1-aptosid...
would break initramfs-tools, and deconfiguration is not permitted (--auto-deconfigure might help)

And no, --auto-deconfigure didn't help
hy - 20.02.2015, 17:15
Post subject: RE: No lan device detected when booting from ISO
Ok after trying almost anything I could think of I found out that there is a switch to turn on and off WIFI which doesn work at all - at least the LED indicator for WLAN will not light... Tomorrow I will return the Laptop to the shop.
bfree - 20.02.2015, 17:56
Post subject: RE: No lan device detected when booting from ISO
There are a bunch of ways those switches can be setup. rfkill might help. Using the brand (and maybe model) of the laptop for searching about wifi and linux would have a good chance of finding a way to get the switch working or disable it.
hy - 20.02.2015, 20:27
Post subject: RE: No lan device detected when booting from ISO
Thanks bfree. I will give it a try. Actually I am not too much into hardware since 1984-1991. Never thought that there COULd actually be a switch for disabling Network. But when it comes to thinking of Mr. Snowden it seems to make sense...(-;
slh - 21.02.2015, 04:16
Post subject: RE: No lan device detected when booting from ISO
You will need http://aptosid.com/debian/pool/fix.main/i/initramfs-tools/ as well.

rfkill shouldn't play a role at that point yet, but it is strange that none of the interfaces shows up - which could point at an issue with PCI probing or generic device enumeration (e.g. BIOS problems), something the newer kernel might alleviate, even though our last release kernel should support them.
hy - 21.02.2015, 10:19
Post subject: RE: No lan device detected when booting from ISO
I am neither able to install a newer kernel (as stated above) and initramfs-tools have a dependency problem as well.
I am getting "udev not configured"
hy - 21.02.2015, 12:56
Post subject: RE: No lan device detected when booting from ISO
FACEPALM I posted the output of lspci of the wrong computer (having 4 of them here...)
      Code:

00:00.0 Host bridge [0600]: Intel Corporation Haswell DRAM Controller [8086:0c04] (rev 06)
   Subsystem: Micro-Star International Co., Ltd. Device [1462:10e9]
00:01.0 PCI bridge [0604]: Intel Corporation Haswell PCI Express x16 Controller [8086:0c01] (rev 06)
   Kernel driver in use: pcieport
00:01.1 PCI bridge [0604]: Intel Corporation Haswell PCI Express x8 Controller [8086:0c05] (rev 06)
   Kernel driver in use: pcieport
00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell Integrated Graphics Controller [8086:0416] (rev 06)
   Subsystem: Micro-Star International Co., Ltd. Device [1462:10e9]
   Kernel driver in use: i915
00:03.0 Audio device [0403]: Intel Corporation Haswell HD Audio Controller [8086:0c0c] (rev 06)
   Subsystem: Micro-Star International Co., Ltd. Device [1462:10e9]
   Kernel driver in use: snd_hda_intel
00:14.0 USB controller [0c03]: Intel Corporation Lynx Point USB xHCI Host Controller [8086:8c31] (rev 05)
   Subsystem: Micro-Star International Co., Ltd. Device [1462:10e9]
   Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation Lynx Point MEI Controller #1 [8086:8c3a] (rev 04)
   Subsystem: Micro-Star International Co., Ltd. Device [1462:10e9]
   Kernel driver in use: mei
00:1a.0 USB controller [0c03]: Intel Corporation Lynx Point USB Enhanced Host Controller #2 [8086:8c2d] (rev 05)
   Subsystem: Micro-Star International Co., Ltd. Device [1462:10e9]
   Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation Lynx Point High Definition Audio Controller [8086:8c20] (rev 05)
   Subsystem: Micro-Star International Co., Ltd. Device [1462:10e9]
   Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation Lynx Point PCI Express Root Port #1 [8086:8c10] (rev d5)
   Kernel driver in use: pcieport
00:1c.3 PCI bridge [0604]: Intel Corporation Lynx Point PCI Express Root Port #4 [8086:8c16] (rev d5)
   Kernel driver in use: pcieport
00:1c.5 PCI bridge [0604]: Intel Corporation Lynx Point PCI Express Root Port #6 [8086:8c1a] (rev d5)
   Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation Lynx Point USB Enhanced Host Controller #1 [8086:8c26] (rev 05)
   Subsystem: Micro-Star International Co., Ltd. Device [1462:10e9]
   Kernel driver in use: ehci-pci
00:1f.0 ISA bridge [0601]: Intel Corporation Lynx Point LPC Controller [8086:8c49] (rev 05)
   Subsystem: Micro-Star International Co., Ltd. Device [1462:10e9]
   Kernel driver in use: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation Lynx Point 6-port SATA Controller 1 [AHCI mode] [8086:8c03] (rev 05)
   Subsystem: Micro-Star International Co., Ltd. Device [1462:10e9]
   Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation Lynx Point SMBus Controller [8086:8c22] (rev 05)
   Subsystem: Micro-Star International Co., Ltd. Device [1462:10e9]
01:00.0 3D controller [0302]: NVIDIA Corporation Device [10de:1140] (rev a1)
   Subsystem: Micro-Star International Co., Ltd. Device [1462:1116]
04:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR8161 Gigabit Ethernet [1969:1091] (rev 10)
   Subsystem: Micro-Star International Co., Ltd. Device [1462:10e9]
05:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:8723]
   Subsystem: AzureWave Device [1a3b:2114]
   Kernel driver in use: rtl8723ae




Edit: it is not the hardware switch. Cause it would turn off Bluetooth as well and bluetooth is working.
hy - 21.02.2015, 18:31
Post subject: RE: No lan device detected when booting from ISO
Meanwhile I got the ethernet via cable running - after following this advice:
http://unix.stackexchange.com/questions ... connection
Now dist-upgrade is running after having updated the sources.
Let's see whether we get wlan working as well after the d-u...
slh - 21.02.2015, 18:39
Post subject: RE: No lan device detected when booting from ISO
The AR8161 ethernet will need an updated kernel, but that's supported in the current one.

Your wlan is already supported in our last release kernel, you just need to supply the required firmware via firmware-realtek, in the worst case you'll have to reload the wireless module (modprobe -r rtl8723ae ; modprobe rtl8723ae), so the wlan should be the easiest option to update the system.
hy - 22.02.2015, 18:24
Post subject: RE: No lan device detected when booting from ISO
Thanks for your answer slh. With eth0 enabled I could do the required d-u. Any way the wlan is behaving strange.
I did the modprobe dance. But wlan is not coming up -at least not in a useful manner.
It's behaving strange.
here's what I've did after d-u
      Code:

apt-get install firmware-realtek
modprobe -r rtl8723ae
modprobe rtl8723ae
ifup wlan0

ifup wlan0 results in an error:
"RTNETLINK answers: File exists"
Some googling didn't help much.
When running ceni for wlan in a shell within the graphical interface I get the message popping up:
wlan0 disconnected
wlan0 connected to <ROUTERNAME>
If I interrupt the ceni at this very moment - and remove the cable - I have the following situation:
I can access the local network and the computers within.
I can access the new computer from another machine with ssh.
I can not access anything in the outside world.
I tried that several times and it's kind of nasty. I double checked entries in /etc/network/interfaces for DNS and other - to no avail. If you need any information for helping me it would be nice.
The cable is not an option in the long term. I need to place the new machine somewhere else and not beside the router.
Thanks in acvance.
hy - 22.02.2015, 19:20
Post subject: RE: No lan device detected when booting from ISO
After latest restart I am getting a different errormessage when trying to
      Code:

ifup wlan0


      Code:

wpa-supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Failed to bring up wlan0

If you need anythin to help me with this I gladly support you with more output.

Now I am getting the other error 'file exists' when running ceni to the end.
finotti - 22.02.2015, 21:02
Post subject: RE: No lan device detected when booting from ISO
Maybe it would help if you showed your/etc/network/if-pre-up.d/wpasupplicant file.
slh - 22.02.2015, 21:09
Post subject: RE: No lan device detected when booting from ISO
This has been resolved via IRC (routing issues with both interfaces being active at the same time).
hy - 25.02.2015, 10:28
Post subject: SOLVED
Thanks to slh who helped me with a routing issue everything went fine.
After installing from ISO I installed atheros firmware drivers and was able to access internet via cable.
So I could do a dist upgrade and almost everything was fine.
The only issue (as far as I know until now) is that I am havin no sound. Will make a seperate thread here.
All times are GMT - 12 Hours
Powered by PNphpBB2 © 2003-2010 The Zafenio Group
Credits