Skip to Content.
Sympa Menu

baslinux - Re: [BL] wifi networking

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: baslinux AT lists.ibiblio.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] wifi networking
  • Date: Thu, 13 Sep 2007 22:46:10 +0000 (UTC)

On Thu, 13 Sep 2007, baslinux AT lists.ibiblio.org wrote:

Message from sindi keesan:


All of the modules got compiled (make all) but did not all get into my
package, so I just added airo.o and orinoco.o and uploaded the package
again. Sorry. 119K package.

The modules for the 2.4.31 kernel and Avaya card loaded successfully.
Thank you, Sindi.
Christof

I am glad it worked.

After loading the modules cardmgr tries to execute

/etc/pcmcia/network start eth0

and fails with the error:

/var/run/pcmcia-scheme: No such file or directory

The eth0 seems suspicious to me. What is the script network supposed
to do?

I just set up a wireless network consisting of:

linksys wireless router (which came with a linksys cardbus card) with power cube plugged into an extension cord.

Gateway laptop with Win98 and BL3.40 loop (does not work with the linksys cardbus card even in Windows tho the card works elsewhere) plugged into the same extension cord. Sitting next to the router.

Aero 340 (non encrypting older wireless card that works in every computer with kernels 2.2 and 2.4)

Desktop computer with PCI network card (3c59x). Straight ethernet cable plugged between it and the Linksys wireless router. 2 meters from the router.

1. Turn on laptop and boot to BL3 loop.
2. Type /etc/pcmcia/start (or make a script called pcmcia-on)
pcmcia runs and it says something about eth0
3. Type udhcpc - assigns 192.168.1.1 to the laptop wireless card.
The router is 192.168.1.100 (which I may have learned after typing start, or you can type ifconfig for such information). Alternately, you could type ifconfig eth0 192.168.1.1
4. On the desktop computer insmod 3c59x, ifconfig eth0 192.168.1.2

5. From either the desktop computer or the laptop computer I can now ping all three addresses. 0.0 ms to itself, 0.5 ms to the other computer, 2.0 ms to the router.

6. I can send/receive same as with a wired ethernet connection, and also run mini_httpd on the desktop and fetch files from the directory where I ran it to the laptop using a browser.

I forgot how to use busybox httpd, which I think need httdp.conf some place which you can specify with httpd -c, which probably tells you which directory you can access.

7. To use the desktop modem connection on the laptop after
establishing the network connection as above:

On laptop:
route add default gw 192.168.1.2

On desktop:
echo 1 > /proc/sys/net/ipv4/ip_forward
ipchains -P forward DENY
ipchains -A forward -s 192.168.1.0/24 -j MASQ

I think I can then use the internet from the laptop via the wireless router which is connected via ethernet cable to the desktop, without needing to run telnetd. Except for a new problem:

While the computers were still connected, I went online with the desktop and was at sdf shell account typing this mail, and suddenly lost my DNS resolving power and my use of the internet connection. /etc/resolv.conf contained the line 192.168.1.1 and nothing else. I copied back the correct file. This happened several times and hangup and redial did not fix it. Now I cannot resolve DNS numbers on that computer and I switched to another desktop. I will try it again after rebooting.

Sindi




Archive powered by MHonArc 2.6.24.

Top of Page