Nobody Special. ([info]luckyckljw) wrote in [info]debian,
@ 2007-12-13 00:41:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Hello and a wireless question
I've been learning my way through Debian for a few months now, and have one problem that I haven't been able to solve yet. I'm really hoping that someone here has some suggestions.

So here's the deal: I like Linux. I like it more than I like Windows. I want to continue to use Linux, BUT Debian is driving me up the wall. Now, 90% of the time it's just peachy keen. However, I admit that I take issue with how my wireless networking is dealt with. Currently, I'm using a Dell Inspiron 5100 with built-in wireless card. Shiny? Not quite. Debian won't play with it. So I've had to steal the PCMCIA wireless card from another laptop (an Inspiron 1100). It's a Linksys card, for anyone who cares. Should I want to connect to the Internet after starting up my computer, there's this complicated dance I have to go through:
Startup -> Desktop -> Administration -> Networking -> Disable eth04 (built-in wireless), Disable eth01 (PCMCIA card), Enable eth01 -> OK.

Not so bad, except I've got to wait for it to do all that, which can take a little bit. Also, about half the time, I have to restart and do all that AGAIN before it'll work. (This, of course, means that I rarely turn my computer off, because Linux forces a diskcheck every 20 startups, and I rack those up pretty quickly this route.)

So the wireless works. Ish. But it wouldn't work with the network security settings we were using (WPA). There's been a compromise so we're still using a secure network, but I don't think it's WPA anymore. It may be WEP, but to be honest, I'm not the one that set it up, so I don't know for sure. I've tried several solutions, and I don't really remember them anymore except to say that I'm tired of workaround hacks. fwcutter and ndiswrapper were not my friends, so far as I recall. I may have something screwy going on with fwcutter, since every time I install updates, it comes up with an error from fwcutter, but updates install just fine.

My dilemma is that I don't want to go back to Windows (omfg, 3 hours of patching after install), and Ubuntu needs FOUR friggin' GIGS of space for install, and that just won't work (my hdd is a 20GB drive, and I've got 18GB of music). I've done my Googling; I'm not just running into a problem and not trying to fix it myself. I've tried. I've threatened with a Windows install, but Debian just doesn't seem likely to be agreeable in this one case.

On the upside, I've got pretty good at Mines while waiting for the network stuff to do its thing whenever I have to restart.

ETA: I'm running Debian Etch, and the 5100 is an older one, so I'm pretty sure it's pre-Centrino. I'm testing a possible solution and will update with results.

ETA: The current setup works if you use 'ifup eth1' from the command line instead of using Network Manager. I think Network Manager only calls dhclient, which skips the ifup pre-up stuff that activates wpa. I can't find any reason for it to do that, but it acts like it. This is my wpa_supplicant.conf file, which needed the proto and the pairwise settings:

ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=2
fast_reauth=1
network={
ssid="mySSID"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
#psk="plain text for reference"
psk=[63hexdigits]
}


(Post a new comment)


[info]dmitrmax
2007-12-13 08:06 am UTC (link)
Though I've never had a Dell notebook, I am sure that it is possible to get its built-in WiFi working. I suppose there is a Centrino adapter, yes? What is the model of it? 2100, 2200, 3945 or 4965? I think you should archive this task first and then we try to help you further.

P.S.: If you don't want Linux to check your HDD every 20 reboots, use the tune2fs(8) utility.

(Reply to this)(Thread)


[info]dmitrmax
2007-12-13 08:07 am UTC (link)
And what is the Debian version you are using?

(Reply to this)(Parent)(Thread)


[info]luckyckljw
2007-12-13 08:15 am UTC (link)
Etch. Thought I'd mentioned it, though apparently not.

I'm pretty sure this hardware pre-dates Centrino being standard, though I could be wrong. Currently using an Inspiron 5100.

(Reply to this)(Parent)(Thread)


[info]dmitrmax
2007-12-14 07:32 am UTC (link)
Have a look at lspci output to know exactly what kind of hardware you have.

(Reply to this)(Parent)(Thread)


[info]luckyckljw
2007-12-14 08:01 am UTC (link)
Here's the relevant information from lspci:

02:01.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
02:02.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 02)
03:00.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)

I remember looking for drivers/support for my internal card at one point, and finding specifically that the revision I've got isn't supported, which is why I'm using an external wireless card instead.

(Reply to this)(Parent)(Thread)


[info]dmitrmax
2007-12-14 12:19 pm UTC (link)
That seems strange, cause Etch's kernel includes support for BCM4306. Would you also supply the output of
$ lspci -n

(Reply to this)(Parent)(Thread)


[info]luckyckljw
2007-12-14 07:49 pm UTC (link)
Sure.

00:00.0 0600: 8086:2560 (rev 03)
00:01.0 0604: 8086:2561 (rev 03)
00:1d.0 0c03: 8086:24c2 (rev 02)
00:1d.1 0c03: 8086:24c4 (rev 02)
00:1d.2 0c03: 8086:24c7 (rev 02)
00:1d.7 0c03: 8086:24cd (rev 02)
00:1e.0 0604: 8086:244e (rev 82)
00:1f.0 0601: 8086:24c0 (rev 02)
00:1f.1 0101: 8086:24cb (rev 02)
00:1f.5 0401: 8086:24c5 (rev 02)
00:1f.6 0703: 8086:24c6 (rev 02)
01:00.0 0300: 1002:4c57
02:01.0 0200: 14e4:4401 (rev 01)
02:02.0 0280: 14e4:4320 (rev 02)
02:04.0 0607: 104c:ac44 (rev 02)
02:04.1 0c00: 104c:8029
03:00.0 0280: 14e4:4318 (rev 02)

(Reply to this)(Parent)


[info]emperor
2007-12-13 08:37 am UTC (link)
/etc/network/interfaces would let you specify that the built-in wireless isn't activated by default.

(Reply to this)(Thread)


[info]luckyckljw
2007-12-14 08:02 am UTC (link)
Thanks, I'll make sure that it's set correctly. It may have been a case of trying to get the internal working at first and then not having time to mess with it again between then and now.

(Reply to this)(Parent)


[info]alexkuklin
2007-12-13 09:00 am UTC (link)
Well... Try using network-manager. network-manager-gnome/network-manager-kde packages.
Works fine for me.

(Reply to this)(Thread)


[info]luckyckljw
2007-12-14 08:02 am UTC (link)
Thanks, I'll look into those!

(Reply to this)(Parent)


[info]demonbane
2007-12-13 11:11 am UTC (link)
I hate to say it, but if you're using a recent WiFi adapter, you really don't want to be using Etch. Some people here might disagree, but for general Desktop usage, sid is definitely the way to go. I'd be willing to bet that upgrading to a recent kernel (2.6.22) with some of the newer ifupdown packages and an updated network-manager would make most of your problems go away. Just speculation as I've never used that particular laptop, but in my experience, if you're using a laptop you really have to use something much more recent than any of the stable Debian distros. The stable branches are, IMO, for servers only.

(Reply to this)(Thread)


[info]luckyckljw
2007-12-14 08:04 am UTC (link)
I considered it, but wasn't quite up to making any kind of change like that since I was mid-semester already. At this point, I've got pretty comfy with my install, so I don't think I'll try Sid out. Thanks though.

(Reply to this)(Parent)(Thread)

I run lenny on my laptops
[info]pravi
2007-12-19 02:52 am UTC (link)
lenny is a bit more saner than sid and it has 2.6.22 kernel and I recently installed it on a compaq presario c700 and it detected the on board network card without any issues (an Intel one). Though I never get to use wifi with it.

(Reply to this)(Parent)


[info]mattcaron
2007-12-13 02:39 pm UTC (link)
Other folks have addressed the wireless stuff already, but I'd like to look at:

This, of course, means that I rarely turn my computer off, because Linux forces a diskcheck every 20 startups, and I rack those up pretty quickly this route.

This can be tweaked and/or disabled with tune2fs.

I set mine to be every 180 days or 100 mounts.

(Reply to this)(Thread)


[info]luckyckljw
2007-12-14 08:04 am UTC (link)
Thanks! Wasn't aware of that, and will likely go poke at it now.

(Reply to this)(Parent)


Create an Account
Forgot your login?
Login w/ OpenID
English • Español • Deutsch • Русский…