You are not logged in.

#1 2011-06-23 21:07:14

DolphinTsar
Member
From: San Francisco, CA
Registered: 2011-05-22
Posts: 12

Wired Network Issues Stemming from Dual Boot? [SOLVED]

Hi there. First time post. Am loving Arch and how much I've learned already. Bit of an odd occurrence happened recently though.

Running Arch on a dual-boot machine with Win7 on partition sda1; other partitions are /boot, /, swap and home.
Installed Arch a few months back and given the pesky 1397 wireless card in my Dell, compiled and installed the broadcom-wl driver. Given the annoyance of that driver and how it maps interfaces, I use wicd to manage networking.
So to override the fickle nature of the driver mapping my interfaces, my rc.conf MODULES section includes:

!b43 !ssb lib80211 wl

NETWORK section includes:

eth0="dhcp"
eth1="dhcp"
!eth0 !eth1 !wlan0

and then in the DAEMONS section

 ... wicd ... 

to allow wicd to do it's thing. In wicd the configuration, my eth0 is the wireless and eth1 is the wired.

Everything has been peachy with that setup for a number of months, performing occasional updates to the system and saw there was a kernel update. I believe I'm now running ARCH 2.6.39 before having trouble, but am not 100%.

So now the problem:
I have a trip out of town, have to run some excel work so boot into Win7. I jump onto a friend's wifi network while in Win7, finish the work, close the lid (this could be my error), and wrap up.
I get home yesterday, open the laptop, wake up to a win7 login, restart, launch Arch, and find I have no wireless connectivity. Restart into Win7 and have no problems so network is functional. Reboot back into Arch and after fiddling with wicd-curses, decide to take it on the chin and plug in the ethernet cable to explore the Wiki and Forums while on Arch platform. Only now my Arch doesn't even find my wired interface. I've tried

ifconfig eth0 up

multiple times without luck - there's no visible response. iwconfig doesn't show eth0 as having wireless capability. My rc.conf still shows the same settings, however now the b43 and ssb modules are back when performing lsmod and the wl module is no longer there.

I'm fine trying to recompile my broadcom-wl driver under the new kernel in case that has an impact, but I can't even get a network up and running via ethernet to pull the necessary update.

I'm wondering if this may have anything to do with the Win7 dual-boot and me leaving it hibernating, etc. I'd love to ditch the Win7 entirely were it not for needing to run the occasional excel model. Maybe I can run it through a virtual machine?
(I'm posting this from another machine at work, so forgive me for not pasting more of my .conf files.)
Thanks!

Last edited by DolphinTsar (2011-06-27 19:42:19)


arch + gnome on dell xps13

Offline

#2 2011-06-24 05:53:30

bahyx
Member
Registered: 2011-05-20
Posts: 10

Re: Wired Network Issues Stemming from Dual Boot? [SOLVED]

I am almost %100 sure it has nothing do to with windows 7 .Did your wireless worked at all after the kernel upgrade? since you cant connect through ethernet i would double check  the network deamons to make sure they are correct and
they start at boot. also does udev load your network modules at startup?

Offline

#3 2011-06-24 06:06:59

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: Wired Network Issues Stemming from Dual Boot? [SOLVED]

You may be fighting the recent upgrade and deprecation of net-tools

Take a look at this thread: https://bbs.archlinux.org/viewtopic.php?id=120872

For a quick and dirty "solution", what happens if you try a sudo dhcpcd eth0


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2011-06-24 15:35:30

DolphinTsar
Member
From: San Francisco, CA
Registered: 2011-05-22
Posts: 12

Re: Wired Network Issues Stemming from Dual Boot? [SOLVED]

Posting from phone. The

sudo dhcpcd eth0

gets me up and going (thank you!), but not permanently:

version 5.2.12 starting
rebinding lease of ...
acknowledged ...
checking for ...
leased ... for 86400 seconds
forked to background ...

$ ping www.google.com
Success!

But the same command is needed after reboot.
I'll put more time into it tonight after work.

Quick comment. I checked out /etc/conf.d/wireless and the two last lines that specified eth0 as the wireless interface were commented out. I don't really recall doing that manually in the past. Could that be something worth pursuing? Again - I'll hit the forums more on that tonight.

Thanks for the dirty tip in the interim!


arch + gnome on dell xps13

Offline

#5 2011-06-27 19:41:26

DolphinTsar
Member
From: San Francisco, CA
Registered: 2011-05-22
Posts: 12

Re: Wired Network Issues Stemming from Dual Boot? [SOLVED]

So given that wicd depends on net-tools, I've gone ahead and removed wicd and net-tools and gone the route of netcfg. I'm working through making the necessary profiles and am almost there. It's not 100% solved, but I think it's just tweaking to get wpa_supplicant playing nicely with netcfg - something that doesn't require forum attention.

I'm going to mark it as solved, but I'm still a bit miffed about it all. I realize that placing the ! before the interfaces in rc.conf to allow wicd to do its thing would be to stem of the problem of not activating the interfaces, but I guess I still don't understand why the deprecation of net-tools would have prevented wicd from launching properly. Anyways, after removing the ! from the INTERFACES of rc.conf and including the daemons to run both wireless and wired profiles automatically during boot (in the DAEMONS section of rc.conf), I've got the wired connection running and active at boot. Now I just need to iron out the wireless portion.

Thanks for the tips.


arch + gnome on dell xps13

Offline

Board footer

Powered by FluxBB