Victory at The Local! AND the Science fair was amusing, too. Did you know water was made of “tiny atoms”? It’s fine to make fun of children for not being able to talk, right?

Alright, so the WPA_supplicant.conf is pretty basic:

network={
ssid="network-name"
psk="pass phrase"
proto=WPA
}

Nothing special from the Handbook; it looks like you should be able to get it up and running without installing wpa_supplicant. This Gentoo page says all I need to do is set the ESSID and key:

iwconfig wlan0 essid
iwconfig wlan0

But that's not enough, so here's another Gentoo site that want me to make a symlink:

cd /etc/init.d
ln -s net.lo net.wlan0

Then added in /etc/rc.conf:
rc_logger=yes

and put dhcp for wlan0 in /etc/conf.d/net.

Then a test:
/etc/init.d/net.wlan0 start
* Caching service dependencies ...
* Bringing up interface wlan0
* Running preup ...
* No link on wlan0, aborting configuration
* ERROR: net.wlan0 failed to start

Okay, going to comment out some of the old wpa_supplicant stuff in /etc/conf.d/net, since this page has a simpler layout. Now:

/etc/init.d/net.wlan0 start
* Caching service dependencies ...
* Bringing up interface wlan0
* Starting wpa_supplicant on wlan0 ...
Could not set interface wlan0 flags: No such file or directory
Failed to initialize driver interface
* start-stop daemon: failed to start `/usr/sbin/wpa_supplicant'
* ERROR: net.wlan0 failed to start

This forum posting has some simple example configs.

 

First let’s tackle the SIOCSIFFLAGS:
It looks like all of this might be a result
of having the wrong driver installed. We’ll try v2 next. To do this, I had to manually delete the directory /etc/ndiswrapper/lsbcmnds
UPDATE: No change.

Found another website that has a non-ndiswrapper walk through. Apparently I hadn’t installed any firmware (a step not included in any of the other guides).

This process went smoothly enough, although I had to temporarily alter /etc/make.conf to emerge a couple masked packages (the firmware itself) but concluded with “reboot and configure your wireless.”. Aaaaaaaasaa that’s what I’m trying to do : (

Now I’m returning to the Gentoo Wireless Networking guide to repeat a number of steps, but this time with the firmware installed. That should make a difference, right?

Okay, Pub Quiz tonight, Science Fair judging in the morning and then back to this.

 

I’m going to give ndiswrapper a chance. I know I said the emerge failed last night, but I was too tired to read why. I know it worked back in 2004, and I don’t think it was even in portage, then. So here goes (after pancakes and undoing what I’ve already done).

First step was to enable WIRELESS_EXT in the kernel by configuring it with support for the prism54 driver. We’ll
see if it emerges after the kernel compiles. UPDATE: Enabling USB in the kernel, now. UPDATE: Install succeeded.

I need a .inf and a .sys file from a Windows driver. Once I get them into my root directory I’m to:

ndiswrapper -I /root/foo.inf
update-modules

NOW: headed over to http://ndiswrapper.sourceforge.net

I’m looking for the drivers for WPC54g, although lspci gives me BCM4306; the card itself says “linksys” and it was the driver I used back in the day. Unfortunately, the link I the driver on the website is dead.

I found a link for version 3. I think that’s what worked before. Fingers crossed!

Okay: no errors during the install. And back to the manual, and there’s a little modification to the wpa_supplicant.conf

Then on running:

ifconfig wlan0 up wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -dd

I get the following:

SIOCSIFFLAGS: no such file or directory
wpa_supplicant: Unknown host
ifconfig: `--help' gives usage information

 

Back to Gentoo’s guide, I’m giving wpa supplicant a go.

After the emerge of wpa_supplicant I did:

rc-update add dbus default

then:

/etc/init.d/dbus restart

Then in /etc/conf.d/net I commented out the old module spec with iwconfig and the key, adding

modules="wpa_supplicant"
wpa_supplicant_eth0="-Dwext"

in its place.

Then there is the creation and editing of /etc/wpa_supplicant/wpa_supplicant.conf

And then I remove the comments fr everything above ifplugd.

After reboot, with the Ethernet unplugged, this led to no connection, and seeing as how it’s now 5 in the morning, I’m calling it for the time being.

 

After the last surprise in which I lost even wired networking, I have commented out everything in /etc/conf.d/net after

modules="iwconfig"
key_your essid

and am rebooting to see if the wired connection, at least, has returned.

 

Now begins the effort to set up wireless on Gentoo via the console.

To begin, I will be using the Gentoo Wireless Networking Guide.

I’m starting with emerging wireless-tools. The guide wasn’t very informative, so I emerged pciutils in order to run

lspci

to check for recognition of the wireless card.

and went over to this how-to

iwconfig

spits out some info re: wlan0. However, it does not recognize the network, which is up and running, as Netflix is streaming at the mo.

Back to Gentoo’s guide, I’m emerging ethtool.

After that, I wrote a lot to /etc/conf.d/net and then emerged ifplugd, a daemon that checks whether or not an Ethernet cable is plugged in. The configuration is done in /etc/conf.d/net

After this I am supposed to emerge openresolv to work with multiple DNS servers and configurations.

And here ends Gentoo’s manual.

 

In make.conf I’ve changed the defaults by changing CFLAGS to “-march=Athlon” and removing -pipe from the default.

When it came time to select a profile, I set it to the desktop with

eselect profile set 2

although I don’t really know what the significance of choosing a profile is.

USE=”-gtk -gnome -qt4 -kde DVD alsa -cdr unicode X acpi iPod latex PCMCIA wifi”

Okay, so I went through the manual to the reboot without any special modifications and the box rebooted with wired Ethernet working fine!

 

Since the employees at the local
Apple Store have found “evidence of liquid,” instead of a job they acknowledge would run $100, they refused AppleCare coverage and want $750.

So, as a dissertating grad student, that’s unacceptable, and the Compaq will have to serve as my primary machine. Fortunately almost all of the work is kept on Dropbox and Google Docs, so this might work.

 

Well here it is.
CPU: 1.325 GHz AMD Athlon XP 1500+
RAM: 237,636 kB
Host Bridge: ATI Technologies Inc AGPBridge [IGP 320 M] (rev 13)
PCI bridge: ATI Technologies Inc PCI Bridge [IGP 320 M] (rev 01)
USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
ISA Bridge: ALi Corporation M1533/M1535/M1543 PCI to ISA Bridge [Aladdin IV/V/V+]
Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)
CardBus bridge: Texas Instruments PCI1410 PC card CardBus Controller (rev 02)
Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139c/8139c+ (rev 20)
Communication controller: Conexant Systems, Inc. HSF 56k HSFi Modem (rev 01)
USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
IDE interface: ALi Corporation M5229 IDE (rev c4)
Bridge: ALi Corporation M7101 Power Management Controller [PMU]
FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
VGA compatible controller: ATI Technologies Inc Radeon Mobility U1
Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 02)

My Plan:
Gentoo 6.0.3
wireless

Using a gentoo livecd, The Gentoo Handbook. and a wired Internet connection.

 

Well here it is.
CPU: 1.325 GHz AMD Athlon XP 1500+
RAM: 237,636 kB
Host Bridge: ATI Technologies Inc AGPBridge [IGP 320 M] (rev 13)
PCI bridge: ATI Technologies Inc PCI Bridge [IGP 320 M] (rev 01)
USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
ISA Bridge: ALi Corporation M1533/M1535/M1543 PCI to ISA Bridge [Aladdin IV/V/V+]
Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)
CardBus bridge: Texas Instruments PCI1410 PC card CardBus Controller (rev 02)
Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139c/8139c+ (rev 20)
Communication controller: Conexant Systems, Inc. HSF 56k HSFi Modem (rev 01)
USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
IDE interface: ALi Corporation M5229 IDE (rev c4)
Bridge: ALi Corporation M7101 Power Management Controller [PMU]
FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
VGA compatible controller: ATI Technologies Inc Radeon Mobility U1
Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 02)

My Plan:
Gentoo 6.0.3
wireless