[SOLVED] Devil Linux wireless set up questions
Howdy from Montana, where it's 10 degrees F out, a good time to be inside working on our network.
We are longtime Devil Linux users. For years, we have run Devil on a "gateway" Pentium machine, equipped with two ethernet boards, to protect our household LAN computers.
Now we want wireless, too, in addition to our wired network, which we want to keep. I have assigned a computer to the updated job and we are trying to configure Devil Linux 1.4RC1, which I recently downloaded and burned to CDR. (Configuration on floppy.) The new gateway machine has:
A) an on-motherboard Intel 82801 assigned to eth0, running Devil's e100 driver happily. It is CAT5e connected to our Paradyne 6211 ADSL modem.
B) a PCI RTL8029(AS) assigned to eth1, running the realtek driver happily. It is CAT5e connected to our LAN.
C) a PCI Belkin Wireless G Desktop Card - Atheros AR2413 802.11bg, assigned in Devil's setup to eth2. running the ath5k driver. It is not happy on boot; Devil reports eth2 as [IPv4]SIOCSIFADDR No such device [FAILED]. I did ask Devil to set up DMZFW3, the three network-card firewall.
Our wireless testing equipment is scanty - we have two laptops with wireless. One runs Ubuntu which did not work with the wireless on campus, and one runs Slackware with untested wireless. We also have a new Wii, which presumably has working wireless if we configure it right.
At this time, after a day's configuration work, our wired LAN members do have their normal access to the Internet through the new gateway. I've put several hours into the wireless setup, and feel I'm to the point where I could really benefit from some help from forum members who understand wireless setup for Devil.
Here's what I think I've figured out so far:
ath5k sets up device wlan0, not eth2
I can log in the to gateway as root, and then interactively configure the wireless card:
ifconfig wlan0 (LAN ip I want to point the wireless at, as the wireless gateway/access point) netmask 255.255.255.0
iwconfig wlan0 essid (security alphanumeric SSID string, currently 8 chrs)
ifconfig wlan0 down
iwconfig wlan0 mode managed key (security WEP string hex 10 digits)
ifconfig wlan0 up
ifconfig and iwconfig now see wlan0
save-config does not make these configuration changes last through the next boot, nor does going into setup and choosing "Save your configuration".
When I configure manually as shown above, ifconfig wlan0 says UP BROADCAST MULTICAST, but when I test with the Wii, it is not successful. (Wii setup: Wireless connection/manual setup/SSID to match/WEP to match/advanced IPs/advanced DNSs/no proxy). The Wii manual's troubleshooting says "check the signal strength", but doesn't explain how. (I assume the default wlan0 Frequency: 2.412 GHz is OK for the Wii as the Wii manual does not specify what the unit can accept.)
I copied etc-mods.tar.bz2 from the Devil configuration floppy to another (Win2000pro) machine and used 7zip to extract etc-mods.tar, which can then be opened with WinZip. The etc-mods\sysconfig\nic\ifcfg-eth2 file contains
IP="(LAN ip I want to point the wireless user machines at)"
BROADCAST="(LAN ip I want to point the wireless users at except the last number is replaced by .255)"
I'd like to try setting DEVICE=wlan0, but I don't know how to put the changed file back into the archive so that it appears in the right place to Devil.
I've got the Devil 1.3 documentation up on another machine for reference.
Questions I'd love answered:
A) Is Devil's "DMZ" network card setup appropriate for what I'm trying to do? I don't understand DMZ very well. Wikipedia has a rundown at DMZ_(computing), which I read with partial understanding.
B) How do I tell Devil to use wlan0 as eth2?
C) How do I get the wlan0 ip etc configuration to save/load?
D) iwconfig says wlan0's Access Point: Not-Associated. Is this proper?
E) What range should I expect from the wireless service? The wireless devices are a couple of rooms away from my gateway machine. It's an old frame house. Do I need to move the Wii closer to the gateway or vice versa to get a good test?
Thank you for your patience in reading through my description. I look forward to comments and tips from those who know.
How the project turned out
Hello, all, and thanks for your attention and help. It became clear my wireless card was not easily capable of being an access point under Linux, and I found little advice about setting Devil Linux up with an Ad Hoc wireless service. So, I took the advice of a helpful person at Devil-linux-discuss and bought a used Linksys Wireless G (WRT54G ver6) router on eBay.
Last night I got the Access Point working, and as I had to draw together many sites' and manuals' info I will share with you how I ended up doing it.
My goal: to provide secure wireless access to our network behind our Devil Linux gateway-to-the-Internet dedicated firewall machine. All devices using fixed IPs, including our ADSL connection.
My solution: I set up a Linksys WRT54G (Wireless G) router as an Infrastructure Access Point on an CAT5e wired network.
Here we go:
***Changing the WRT54G's IP disables access via your browser until the computer's IP is changed to match the first three groups of numbers (with netmask 255.255.255.0), so I did that last.***
1) The WRT54G should not be connected to the LAN during initial configuration.
2) Connect a standalone computer's Ethernet into one of the four WRT54G LAN ports (not its Internet port.)
3) Reset the WRT54G by holding its reset button for 15 seconds with power connected. Wait for the power light to stop blinking.
4) (Win2000pro) CtrlPanel >> Network & Dialup Connections >> RtClick Ethernet >> click Internet Protocol (TCP/IP) >> click Properties >> set IP address to 192.168.1.3 ...OK OK, minimize window.
5) In Firefox or Internet Explorer enter URL/Address 192.168.1.1 and give Username (none) Password Admin, Linksys config utility now showing.
6) Setup Basic Setup: Internet Connection type Automatic Configuration - DHCP, Router name [optional name], domain name [optional name], DHCP server DISABLE, set time zone ...Save settings.
7) Setup DDNS disable, MAC disable, Advanced Routing Operating Mode ***ROUTER***, Dynamic Routing Disabled, no static routing ...Save settings.
8) Wireless SSID [name], SSID Broadcast [enable for now] ...Save settings.
9) Wireless security mode WPA2 Personal/AES (best security compatible with Wii), key [10 chr hex string] ...Save settings.
10) MAC filter disable, Advanced Wireless Secure Easy Setup DISABLE ...Save settings.
11) Security leave defaults alone, Access Restrictions leave disabled, Applications & Gaming leave disabled.
12) Administration set new password, wireless access web enable, remote management disable ...Save settings.
13) It will ask you to login again. Enter new password for continued access.
14) Log disable, config management BACKUP to file.
15) Status - firmware version should be v1.02.7 build 011, Jul. 27.2009 (as of 12/2009) I updated our firmware with the file from Linksys' site. It was easy. I did plug the router into a UPS for the procedure. Updating did not lose my saved configuration.
16) Return to Setup - Basic Setup. Change Local IP Address to one in your fixed-IP LAN range...Save settings. It says "Settings are successful. Please release/renew IP. "Close" button doesn't work in Firefox, but does close IE.
17) Restore the Network window, go back to TCP/IP properties (see step 4). Set IP address to the machine's proper one in your fixed-IP LAN range. OK OK
18) Unplug WRT54G's power cord, wait 20 seconds. While you are waiting, plug an Ethernet cable into one of your LAN's ports and one of the WRT54G's LAN ports. (NOT the Internet port.) Replug the WRT54G's power cord, wait for the power light to stop blinking.
19) The machine should now have net access, and the WRT54G's WLAN light should be lit. Entering the URL of the WRT54G's Local IP Address should make it ask for the (new) password, and the Linksys config utility then shows.
20) Once wireless user devices are configured & working, I believe we can disable SSID Broadcast for greater security without disturbing user connections. I plan to do this.
Good luck to anyone with a similar project. I hope this post helps.