You are not logged in.

#1 2014-07-31 06:04:27

CubeGod
Member
Registered: 2013-07-09
Posts: 120

no network when trying to install arch on a dell inspiron 1501

Okay, so I have to install an OS on this DELL inspiron 1501, trivial enough right?
not quite, booting into arch I realize that it doesn't recognize the wifi or the wired connection (wifi is on up until the root auto login at which point it shuts down), this is rather odd so I boot into parted magic, sure thing I have network here.

So I get the *brilliant* (cough) idea to install arch from within parted magic, I get the chroot running and I try to pacstrap the system onto the new install location, all should be fine but no, the chroot doesn't have any networking either (which is a first for me, usually the chroot would have the same networking capabilities as the host).

I'm at loss, as for what network card is in it should be a BCM4311, installing through the bootstrapped chroot or through the normal boot image is fine, I just need to actually get it working.

Offline

#2 2014-07-31 14:43:46

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,599

Re: no network when trying to install arch on a dell inspiron 1501

What is the output of `lspci | grep -i network`?

Offline

#3 2014-07-31 16:39:44

CubeGod
Member
Registered: 2013-07-09
Posts: 120

Re: no network when trying to install arch on a dell inspiron 1501

05:00.0 Network controller: Broadcom Corporation BCM4311 802.11b/g WLAN (rev 01)

Offline

#4 2014-07-31 17:04:59

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,599

Re: no network when trying to install arch on a dell inspiron 1501

Strange that the wired interface doesn't even show up.

As for the BCM4311, https://bbs.archlinux.org/viewtopic.php?id=183114 says that there is a kernel bug. You'll also need firmware: https://aur.archlinux.org/packages/b43-firmware/ or to use the wl driver https://aur.archlinux.org/packages/broadcom-wl/

Last edited by Scimmia (2014-07-31 17:10:42)

Offline

#5 2014-07-31 17:10:23

CubeGod
Member
Registered: 2013-07-09
Posts: 120

Re: no network when trying to install arch on a dell inspiron 1501

mmm, I already read about the kernel bug, I'd assumed that bootstrapping from a live cd that does get a network connection would be sufficient (which it obviously wasn't)
now to drop that into the the bootstrap (after manually pulling everything from the PKGBUILD) and then build time, with some luck this might get my bootstrap to network properly.

Offline

#6 2014-07-31 17:13:24

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,599

Re: no network when trying to install arch on a dell inspiron 1501

CubeGod wrote:

mmm, I already read about the kernel bug, I'd assumed that bootstrapping from a live cd that does get a network connection would be sufficient (which it obviously wasn't)

It should, IF you set things up before doing the chroot. Like copying over resolv.conf and mounting the temporary filesystems. https://wiki.archlinux.org/index.php/Ch … ain_chroot

Offline

#7 2014-07-31 17:19:28

CubeGod
Member
Registered: 2013-07-09
Posts: 120

Re: no network when trying to install arch on a dell inspiron 1501

well I'm not using a plain chroot, I downloaded the i686 bootstrap image and used the arch-chroot script, so it's not a plain chroot but I'll try that anyway, can't hurt to try.

Offline

#8 2014-07-31 17:22:52

CubeGod
Member
Registered: 2013-07-09
Posts: 120

Re: no network when trying to install arch on a dell inspiron 1501

okay, this is the output:

cp: failed to access 'etc/resolv.conf': stale NFS file handle

Offline

#9 2014-07-31 17:32:25

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,599

Re: no network when trying to install arch on a dell inspiron 1501

I haven't dealt with NFS for a long time, but I don't see how it would come into play here. Maybe something screwy with the parted magic live disk? Just copying a file to the new disk shouldn't be a problem.

Offline

#10 2014-07-31 17:37:46

CubeGod
Member
Registered: 2013-07-09
Posts: 120

Re: no network when trying to install arch on a dell inspiron 1501

anyway, if I can somehow actually get arch installed it seems the regression was introduced with 3.15.x, therefore the LTS (3.14.14) should be suitable, yes?

interestingly though, my live usb image (which has worked on every computer up until now) is the 2014.01.05-dual iso image, shouldn't this be long before the regression was introduced? (all I know is that I get no networking while in that image but I get it from parted magic making parted magic bootstrapping the most feasible option so long I can get networking in the bootstrap up and running)

Last edited by CubeGod (2014-07-31 17:39:44)

Offline

#11 2014-07-31 17:41:22

CubeGod
Member
Registered: 2013-07-09
Posts: 120

Re: no network when trying to install arch on a dell inspiron 1501

Scimmia wrote:

I haven't dealt with NFS for a long time, but I don't see how it would come into play here. Maybe something screwy with the parted magic live disk? Just copying a file to the new disk shouldn't be a problem.

pretty sure something's up with it, could it relate to the fact that I started wicd without daemonizing it? (aka with the -f flag)

Offline

#12 2014-07-31 17:44:05

CubeGod
Member
Registered: 2013-07-09
Posts: 120

Re: no network when trying to install arch on a dell inspiron 1501

I ran an strace on ls /etc/resolv.conf
oh if only strace had colorized output, this hurts my eyes.

Offline

#13 2014-07-31 17:52:03

CubeGod
Member
Registered: 2013-07-09
Posts: 120

Re: no network when trying to install arch on a dell inspiron 1501

now I noticed why the bootstrapped environment has no networking;
mount: mount /etc/resolv.conf on /tmp/root.i686/etc/resolv.conf failed: Stale NFS handle

So, is there any way to refresh the file handle or to otherwise fix this?

Offline

#14 2014-07-31 18:19:46

CubeGod
Member
Registered: 2013-07-09
Posts: 120

Re: no network when trying to install arch on a dell inspiron 1501

debugging this further I ran
cat /etc/mtab
cat /proc/mounts

and started comparing the outputs:
from mtab these stood out:
/tmp/root.i686 /tmp/root.i686 none rw,bind 0 0
/etc/resolv.conf /tmp/root.i686/etc/resolv.conf none rw,bind 0 0

from /proc/mounts
tmpfs /tmp/root.i686 tmpfs rw,realtime 0 0
aufs /tmp/root.i686/etc/resolv.conf\040(deleted) aufs rw,realtime,si=c5b91b9a 0 0

so from this I can deduce that resolv.conf is mounted and deleted.
unmounting it should thus allow a new one to be generated and/or mounted, trying this now.

Offline

#15 2014-07-31 18:23:16

CubeGod
Member
Registered: 2013-07-09
Posts: 120

Re: no network when trying to install arch on a dell inspiron 1501

update: can't even unmount it using --force
umount --force /tmp/root.i686/etc/resolv.conf
umount: /tmp/root.i686/etc/resolv.conf: stale NFS file handle.

tried on /etc/resolv.conf after, same result.

Offline

#16 2014-07-31 18:24:20

CubeGod
Member
Registered: 2013-07-09
Posts: 120

Re: no network when trying to install arch on a dell inspiron 1501

cat /etc/resolv.conf does return valid file contents however, this confuses me.
the file clearly works as I can cat it and ls it.

Offline

#17 2014-07-31 22:41:40

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,599

Re: no network when trying to install arch on a dell inspiron 1501

I would abandon the parted disk. Either use a different distro's live disk that's made to be more general, or see if you can get the b43-firmware package made and install that on the Arch live disk. I'm betting that's the problem if you can't make an older one work, either.

Offline

#18 2014-08-01 03:08:10

CubeGod
Member
Registered: 2013-07-09
Posts: 120

Re: no network when trying to install arch on a dell inspiron 1501

mmm, shouldn't the 2014.01.05 disk be before the regression though? I assume the regression was introduced in 3.15 as that's the first mention I see for it, in which case the disk from january should be fine (as it would be running... 3.10? 3.12 maybe?)

Either way I'm going to see if I can find my old debian disk and use that, I should have it somewhere around here, it's relatively standard afaik.

Offline

#19 2014-08-01 14:35:44

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,599

Re: no network when trying to install arch on a dell inspiron 1501

Yes, it's before the regression, but like I said, it still needs the firmware package.

Offline

#20 2014-08-01 18:22:31

CubeGod
Member
Registered: 2013-07-09
Posts: 120

Re: no network when trying to install arch on a dell inspiron 1501

what a pain tongue
I'm just going to assume that there is some reason why arch can't distribute with the firmware (even though parted magic can)

Offline

#21 2014-08-01 18:45:22

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,599

Re: no network when trying to install arch on a dell inspiron 1501

License issues. If they're using that driver, then either parted magic got permission to redistribute them or they're doing it illegally.

Last edited by Scimmia (2014-08-01 18:48:58)

Offline

#22 2014-08-02 20:41:41

CubeGod
Member
Registered: 2013-07-09
Posts: 120

Re: no network when trying to install arch on a dell inspiron 1501

I see, well time to bash my skull against my debian bootable usb where I got the wl driver running as how the debian wiki instructed me... now time to rummage through debian's borkded package for the firmware as well since it clearly didn't come with (something the wiki never mentioned, one would expect the firmware to ship with the vendor driver)
then I can get to bootstrappin'

Offline

#23 2014-08-08 04:50:54

CubeGod
Member
Registered: 2013-07-09
Posts: 120

Re: no network when trying to install arch on a dell inspiron 1501

okay, I've tried everything between heaven and hell and can't get the bloody firmware to work.
Exactly how does one load the firmware without causing a kernel panic?

Offline

#24 2014-08-08 05:04:11

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: no network when trying to install arch on a dell inspiron 1501

Can I suggest a different tack?  Have you a smart phone? 

Associate the phone with either your wireless provider (use your plan's data package), or associate it with your local wifi (to not use your plan's data package).  Then, connect the phone to the Inspiron via USB.  Put the phone into wired tether mode. On the Inspiron, run dhcpcd as root.  Install Arch, and the drivers for your NICs.  Profit!


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#25 2014-08-08 05:10:02

CubeGod
Member
Registered: 2013-07-09
Posts: 120

Re: no network when trying to install arch on a dell inspiron 1501

I do not own a smartphone, no. (I find them rather pointless, I don't even need a phone for my daily activities nor do I have any use of any of the apps)

Offline

Board footer

Powered by FluxBB