Differences between version 5 and predecessor to the previous major change of AdHoc.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 5 | Last edited on Tuesday, September 21, 2004 4:53:31 pm | by BillRosoman | Revert |
Older page: | version 4 | Last edited on Tuesday, September 14, 2004 3:27:36 pm | by PerryLorier | Revert |
@@ -1,540 +1,251 @@
-Connection mode of the 802.11
Wireless Protocol. Ad Hoc is typically used for a link between two computers and I think it can be used to make an "
Ad-Hoc" network of 2+ computers as well.
+Wireless Ad-Hoc connection
+==========================
-!!!To setup a Wifi Network!
+These commands were useful
+--------------------------
+http://iptables-tutorial.frozentux.net/iptables-tutorial.html
+nmap -v mordor
+Starting nmap 3.50 ( http://www.insecure.org/nmap/ ) at 2004-09-21 16:03 EDT
+Host mordor.localdomain (192.168.1.1) appears to be up ... good.
+Initiating SYN Stealth Scan against mordor.localdomain (192.168.1.1) at 16:03
+Adding open port 5000/tcp
+Adding open port 139/tcp
+Adding open port 135/tcp
+The SYN Stealth Scan took 2 seconds to scan 1659 ports.
+Interesting ports on mordor.localdomain (192.168.1.1):
+(The 1656 ports scanned but not shown below are in state: closed)
+PORT STATE SERVICE
+135/tcp open msrpc
+139/tcp open netbios-ssn
+5000/tcp open UPnP
-!!Current problems
+Nmap run completed -- 1 IP address (1 host up) scanned in 72.847 seconds
-Can setup an Ad
-Hoc link to main PC from my Notepad but;
-Can see a AP but cannot access via TCP/IP or anything else
-Can Not use Internet just times out
-Drakconnect (the Internet Wizard) will not setup TCP/IP on Wireless crashes
-Do I use Samba to access wifi network?
+tcpdump
-i eth1
-apradar shows me the AP
-ethereal show packets of UDP and other are transmitted and received but no TCP
/IP
-changed hostname, now ethereal doing ARP to correct IP
192.168..1
-I know of dhcpd but it will not run!
+cat /etc/rc.d/init.d/iptables
+cat
/proc/sys/net/ipv4/ip_forward
+echo 1 > /proc/sys/net/ipv4/ip_forward
+/sbin/iptables -t nat -A PREROUTING -s
192.168.1
./255
.255.255.0 -d 10..4./16 -i eth1 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3128
+iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
-!!My Setup
-The wifi card's a Netgear WG511.
-http:
//www
.netgear
.com
/
-I have a Dell Notepad Inspiron 2650
-Intel Chip
-running Mandrake 10 KDE 3
.2
-Kernel 2
.6
.3-7mdk
+kedit
/etc
/dhcpd
.conf
.sample
+kedit
/etc/dhcpd.conf
+dhcpcd -i eth1 &
+dhcpcd eth1
+watch -n 1 iwconfig eth1
+ping -c 4 localhost
+netstat
+netstat -r
+traceroute mordor
+nslookup
+> mordor
+Server: 192
.168.1.1
+Address: 192
.168
.1.1#53
-Card Chip is
-Prism54
-firmware Intersil ISL3890
-ESSID
: "$@4@M"
+Non-authoritative answer:
+Name: mordor.mshome.net
+Address
: 192.168..3
-!!To get card working follow these steps:
-In Root
(SU
)
-# Download the latest firmware
from: http://prism54
.org/~mcgrof/firmware/
1.
.4
.3.arm and copy it to /usr/lib/hotplug/firmware/
-# Rename the firmware to 'isl3890'
- mkdir /usr/lib/hotplug/firmware/
- chmod 777 /usr/lib/hotplug/firmware/
- cp /home/leftfieldnz/Document/software/wifi/isl3890 /usr/lib/hotplug/firmware/
-# Remove and then slot the pcmcia card back into the laptop
.
-# Run the following
:
- modprobe prism54
- iwconfig
-# iwconfig should now list the card as
: Network controller: Intersil Corporation Intersil ISL3890 [Prism GT/Prism Duette] (rev 01)
-# iwconfig should see the card as eth1
+ping -c 4 192.168.1.1
+PING 192.168.1.1
(192.168.1.1
) 56(84) bytes of data.
+64 bytes
from 192.168
.1.1: icmp_seq=1 ttl=64 time=6
.48 ms
+64 bytes from 192
.168.1.1: icmp_seq=2 ttl=64 time=
3.19 ms
+64 bytes from 192
.168.1.1
: icmp_seq=3 ttl=64 time=3.23 ms
+64 bytes from 192.168.1.1
: icmp_seq=4 ttl=64 time=3.75 ms
-From there you can follow the normal procedure for setting the ip address
etc.
+Edit Config files
+=================
+kedit /
etc/sysconfig/network
+kedit /etc/pcmcia/config
+kedit /etc/wlan/wlancfg-DEFAULT
+kedit /etc/wlan/wlancfg-deb1
+chmod 777 /etc/wlan/wlancfg-deb1
+kedit /etc/wlan/wlan.conf
+kedit /etc/hosts
+You should see a line
+127...1 localhost
+we need to add a host on a new line
+192.168..1 mordor.localdomain mordor
+192.168.1.1 mordor.localdomain mordor
+kedit /etc/host.conf
+kwrite /etc/sysconfig/network
+kwrite /etc/sysconfig/network-scripts/ifcfg-eth1
+kwrite /etc/sysconfig/networking/default/ifcfg-eth1
+kwrite /etc/sysconfig/network-scripts/ifcfg-eth0
+kwrite /etc/sysconfig/networking/default/ifcfg-eth0
+kedit /etc/resolv.conf
+search mshome.net
+nameserver 192.168.1
.1
-BTW, if you want to run airsnort you need to set the card to monitor:
- iwconfig eth1
mode monitor
+Get wlan up
+===========
+Setup Windows PC using manual IP on Wifi TCP 192.168.1.1 mask 255.255.255.
+wifi
mode Ad-Hoc essid deb1 channel 6
+Run USB Wifi
+add 192.168.1.1 range to Windows firewall
-Then startup airsnort, change the driver to 'other' and hit start
.
+Linux Machine
+as SU (root)
+kedit /etc/wlan/wlancfg-deb1
+kedit /etc/modules
.conf
+alias eth1 prism54
+kedit /etc/wlan/wlancfg-deb1
+ifdown eth1
+kedit /etc/dhcpd.conf
+dhcpcd -i eth1 &
+dhcpcd eth1
+iwconfig eth1 mode Ad-Hoc essid "deb1" channel 6
+ifconfig eth1 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255
+ping -c 4 192.168.1.1
+/etc/pcmcia/network start eth1
+route -n
+ifconfig eth1 up
+ifup eth1
+iwlist eth1 scanning
+samba status
+hostname
-To switch back to non
-promisc
. do: iwconfig
eth1 mode managed
+route
-n
+Kernel IP routing table
+Destination Gateway Genmask Flags Metric Ref Use Iface
+10
...3 ...0 255.255.255.255 UH 1 0 0 sl0
+192.168.1.0 ...0 255.255.255.0 U 0 0 0
eth1
+127...0 ...0 255...0 U 0 0 0 lo
+...0 192.168.1.1 ...0 UG 0 0 0 eth1
+...0 ...0 ...0 U 1 0 0 sl0
-And here
is the content of my
- cat /etc/sysconfig/network-scripts/ifcfg-eth1
- DEVICE=eth1
- BOOTPROTO=dhcp
- ONBOOT=yes
- HWADDR=00:09:5b:c2:c7:1a
- MII_NOT_SUPPORTED=yes
- WIRELESS_MODE=Ad-hoc
- WIRELESS_ESSID=deb1
- WIRELESS_ENC_KEY=""
- NEEDHOSTNAME=no
+Windows Wifi
is Zyair B220 looks like only 802b
+LAN is 192.168..1
+Wlan is 192.168.1.1
-http://kbserver.netgear.com/support_details.asp?dnldID=785
+Almost humming!
-Since about 15 people a month seem
to download them, and someone even requested them via email here are the 'new
' WG511 drivers uncabbed
.
+Wireless Ad-Hoc PC
to Notepad
+-----------------------------
+Usng PC Windows ME Zyxel USB Wlan
+Dell Notepad;
+The wifi card
's a Netgear
WG511.
+www.netgear.com
+I have a Dell Notepad Inspiron 2650
+Intel Chip
+running Mandrake 10 KDE 3.2
+Kernel 2.6.3-7mdk
-http://www.e
-kyle
.ca/stuff/WG511v210_uncabbed
.zip
+Results
+
-------
+Windows machine
+netstat shows TCP to Notepad
+ping 192.168
.1
.1 excellent
-I draw your attention to this relevent post
.
-http
://www
.linuxant.com/pipermail/driverloader/2003q4/000280.html
+Linux machine
+apradar result
+eth1 Scan completed :
+ NEW AP from accesspoint scan
+essid
.length 4 ESSID:"deb1"
+ Mode
:Ad-Hoc 1
+ Encryption key:off
+ Frequency:2
.437GHz
+ quality: -56
-This could still be an issue
. It doesn't seem to affect me though
.
+ping 192
.168..1
+PING 192.168..1 (192.168..1) 56(84) bytes of data
.
-and instructions on my last post here
-http://www
.linuxant
.com/pipermail/driverloader/2003q4/000279
.html
+[1]+ Stopped ping 192
.168
.
.1
+Hangs!
-Setting up the pcmcia card
-under Linux was harder than setting up the networking on my wife's mac
-powerbook, but not by too much. I had to download the firmware and
-place it in /usr/lib/hotplug/firmware, then use iwconfig to set the WEP
-key, set up the default route, and I was away!
-
-!!!wlan up
- smbpasswd -a leftfieldnz
- kedit /etc/wlan/wlancfg-DEFAULT
-add contents and amend to;
- kedit /etc/wlan/wlancfg-deb1
-
- ifconfig eth1 inet 192.168..10 netmask 255.255.255.0 broadcast 192.168..255
- route add default gw 192.168..1 netmask 255.255.255.0 eth1
- iwconfig eth1 ESSID "deb1" mode ad-hoc channel 5
- /etc/pcmcia/network start eth1
-
- route
- Kernel IP routing table
- Destination Gateway Genmask Flags Metric Ref Use Iface
- 10...3 * 255.255.255.255 UH 1 0 0 sl0
- default 192.168..1 255.255.255.0 UG 0 0 0 eth1
- 192.168..0 * 255.255.255.0 U 0 0 0 eth1
- 127...0 * 255...0 U 0 0 0 lo
- default * ...0 U 1 0 0 sl0
-
- ifconfig eth1 up
- ifup eth1
- ping 192.168..1
-
iwlist eth1 scanning
- eth1 Scan completed :
- Cell 01 - Address: 72
:6F
:EE
:8D
:F7
:C6
+iwlist eth1 scanning
+eth1 Scan completed :
+ Cell 01 - Address: 42
:F5
:A8
:9E
:54
:CF
ESSID:"deb1"
Mode:Ad-Hoc
Encryption key:off
- Frequency:2.432GHz
- Quality:178
/0 Signal level:-54
dBm Noise level:-232
dBm
-
- samba status
- hostname
- lynx www.si.edu
-
-!!Programs I Have
- apradar
- == Timer started AP Scan ==
- Main::ScanAPs on interface 0x813c3a0
- AP Scan requested. going into select loop
- Warning : Device eth1 has been compiled with version 16
- of Wireless Extension, while we are using version 15.
- Some things may be broken...
-
- eth1 Scan completed :
- NEW AP from accesspoint scan
- essid.length 4 ESSID:"deb1"
- Mode:Ad-Hoc 1
- Encryption key:off
- Frequency:2.432GHz
- quality: -53
-
- kwifimanager
- drakconnect
- airsnort
- snort
- ethereal
- lynx
-
-!!!On Windows ME
-* Made a NW Using USB Wlan NIC
-* Made DHCP
-* Rebooted
-* Ethereal all show on TCP Tunnel
-* It is using 192.16..252 and 192.168..254
-* But no Internet from Notepad!
-* MCC still will not set Internet Connections
-* After 20 minutes it died
-* Tuned Control Pnael > Internet > Connection > Sharing
-* Make WIFI secondary device
-
-!!!hostname
- kedit /etc/hosts
-was
- 127...1 localhost
- 192.168..1 mordor.localdomain mordor
-changed to
- 127...1 mordor localhost.localdomain localhost mordor
-
- kedit /etc/sysconfig/network
- HOSTNAME=mordor
- NETWORKING=yes
- GATEWAY=192.168..1
-
- kedit /etc/resolv.conf
- search mshome.net
- nameserver 192.168..1
-
- hostname -a
- hostname -s
- hostname -d
- hostname -f
- restart X ctrl+alt+back space
-
-!!Edit Config files
- kedit /etc/sysconfig/network
- kedit /etc/pcmcia/config
- kedit /etc/wlan/wlancfg-DEFAULT
- kedit /etc/wlan/wlancfg-deb1
- chmod 777 /etc/wlan/wlancfg-deb1
- kedit /etc/wlan/wlan.conf
- kedit /etc/hosts
- kedit /etc/hosts
-You should see a line
- 127...1 localhost
-we need to add a host on a new line
- 192.168..1 mordor.localdomain mordor
-
- kedit /etc/host.conf
- kwrite /etc/sysconfig/network-scripts/ifcfg-eth1
- kwrite /etc/sysconfig/networking/default/ifcfg-eth1
- kwrite /etc/sysconfig/network-scripts/ifcfg-eth0
- kwrite /etc/sysconfig/networking/default/ifcfg-eth0
- kedit /etc/resolv.conf
- kedit /etc/modules.conf
- alias eth1 prism54
-
- cat /proc/net/dev
- Inter-| Receive | Transmit
- face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
- lo: 37168 502 0 0 0 0 0 0 37168 502 0 0 0 0 0
- eth0: 0 0 0 0 0 0 0 0 378 5 0 0 0 0 5
- eth1: 37814 178 0 0 0 0 0 0 5144 38 0 0 0 0 0
- sl0: 0 0 0 0 0 0 0 0 16613 221 0 0 0 0 0
- sit0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
-
- cat /proc/net/wireless
- Inter-| sta-| Quality | Discarded packets | Missed | WE
- face | tus | link level noise | nwid crypt frag retry misc | beacon | 16
- eth1: 0000 196. 203. 232. 0 0 0 0 0
+ Frequency:2.437GHz
+ Quality:190
/0 Signal level:-55
dBm Noise level:-245
dBm
- cat /etc/pcmcia/network.opts
- iwspy eth1
-
iwspy eth1
- eth1 Statistics collected:
- 00:00:00:00:28:B2
: Quality:0 Signal level:0 Noise level:
- Link/Cell/AP : Quality:220
/0 Signal level:-52
dBm Noise level:-255
dBm (updated)
+iwspy eth1
+eth1 Statistics collected:
+ 00:00:00:00:28:C2
: Quality:0 Signal level:0 Noise level:
+ Link/Cell/AP : Quality:188
/0 Signal level:-53
dBm Noise level:-5
dBm (updated)
Typical/Reference : Quality:0/0 Signal level:-80 dBm Noise level:-256 dBm
- netstat -r
- cat /proc/filesystems
- cat /etc/printcap |more
+iwconfig
+lo no wireless extensions.
-!!loaded;
- ethereal
- ethtool
- stunnel
- DHCP
- zcip
- tmdns
- yacc
- bison
- airsnort
- apradar
+eth0 no wireless extensions.
-!!airsnort
- iwconfig eth1 mode monitor
- airsnort
-
-On windows PC
- route add -net 192.168..10 netmask 255.255.255.0 broadcast 192.168..255 eth1
-
-!!dmesg
-Assuming someone else called the IRQ
- zcip uses obsolete (PF_INET,SOCK_PACKET)
- device eth1 entered promiscuous mode
- device eth1 left promiscuous mode
- NET: Registered protocol family 10
- Disabled Privacy Extensions on device c035fe60(lo)
- eth0: Setting promiscuous mode.
- eth0: Setting promiscuous mode.
- IPv6 over IPv4 tunneling driver
- eth1: no IPv6 routers present
- eth0: no IPv6 routers present
- device eth1 entered promiscuous mode
- device eth1 left promiscuous mode
-
-!!!testing
- ftp server: config wu-ftpd on
- dhclient eth1
- nenstat -uan
- arp -a
-
- ifconfig eth1 up online
- dhcpd eth1
- touch /dir/file
-Create File
- Wardriving
- snort
-
-!!!had to Add
- mkdir /etc/sysconfig/networking/default
- chmod 777 /etc/sysconfig/networking/default
- ls /etc/sysconfig/networking/default
-then add ifcfg-eth1
-+ contents
-
- cardctl ident
- Socket :
- product info: "Intersil", "ISL3890", "-", "-"
- manfid: 0x000b, 0x3890
- function: 254 ((null))
- kedit /etc/pcmcia/config
-add above
-
- iwlist eth1 frequency
- iwlist eth1 scanning
- samba status
- samba start
- ping 192.168..1
- route -v
- ifconfig eth1 192.168..55
- ifconfig eth1 up
- route add default gw mordor eth1
- iwlist eth1 scanning
- iwconfig eth1 ESSID ""
- iwconfig eth1 mode ad-hoc
- iwconfig
- iwconfig --help
- iwconfig eth1 ESSID "deb1"
- iwconfig eth1 channel 5
- iwconfig eth1 freq 2.437g
- ifup eth1
- drakconnect
- kwifimanager
- kedit /etc/wlan/wlancfg-DEFAULT
- kedit /etc/wlan/wlancfg-deb1
- chmod 777 /etc/wlan/wlancfg-deb1
- kedit /etc/wlan/wlan.conf
- cat /proc/net/dev
- cat /proc/net/wireless
- hostname
- hostname -i
- kedit /etc/hosts
- kedit /etc/host.conf
- kwrite /etc/sysconfig/network-scripts/ifcfg-eth1
-
-kernel source
-/usr/src/linux-2.6.3-7mdk
-pcmcia-cs-3.2.5
-
- kwrite /etc/sysconfig/network-scripts/ifcfg-eth1
- DEVICE=eth1
- BOOTPROTO=dhcp
- ONBOOT=yes
- HWADDR=00:09:5b:c2:c7:1a
- MII_NOT_SUPPORTED=yes
- WIRELESS_MODE=Ad-hoc
- WIRELESS_ESSID=deb1
- WIRELESS_ENC_KEY=""
- NEEDHOSTNAME=no
-
- ifstatus -v eth1
-
-!!!WIFI Pcmcia Card under Linux
-* http://www.airsnort.shmoo.com
-* http://www.tcpdump.org
- airsnort
- cat /proc/net/dev
- kwifimanager
- cat /var/log/boot.log
- drakconnect
- ifstatus eth1
- eth1: link beat detected
-
-did alias
- kedit /etc/modules.conf
- alias eth1 prism54
- modprobe prism54
-
- kedit /etc/resolv.conf
-to point at your DNS server.
-
- kwrite /etc/sysconfig/network-scripts/ifcfg-eth1
- DEVICE=eth1
- BOOTPROTO=dhcp
- ONBOOT=yes
- MODE=Managed
- KEY=05C7408757DAFD7EF66529F03C
- CHANNEL=5
-
-knoppix 3.4 see card but does not start correctly
-
-!!!Lights on Card
- green light means good connection
- blinking green light means trying to connect
- amber light means data transmission
-
- lynx www.si.edu
-
-do not think I need ndiswrapper
-or driveloader!
-
-* http://www.linux-laptop.net
-* http://www.tuxmobile.org/hardware.html
-* http://www.netgear.com
-* http://www.linux-wlan.org/
-* http://www.crc.net.nz
-* http://www.goonda.org/wireless/prism2/
-* http://www.mobilewifi.com
-
-went out and tried it, got several hotspots but nothing connected!
-installed prism2 tools then airsnort
-airsnort
-
-!!Ideas
-
-airsnort http://rpmfind.net/linux/RPM/cooker/10.1/i586/media/contrib/airsnort-.2.4a-1mdk.i586.html
-
-The laptop's an old Gateway PIII 550, running Mandrake 10.0 official.
-Kernel 2.6.3-7mdk.
-
-The card's a Netgear WG511.
-
-One caveat; this card is running the prism chipset (or at least, it's
-using the prism54 driver) Some people have reported that Netgear have
-changed chipsets on the WG511 a couple of times, so you can't guarantee
-that all WG511 cards will work.
-
-One other problem; the prism54 driver doesn't support WPA yet. WEP
-works fine tho', and WPA is coming Real Soon Now(tm) :-)
-
-BTW, the firmware is for the Intersil ISL3890. Googleing (sp?) for that
-should get a download site, or email me and I can email the one I
-downloaded. It's only about 90k.
-
-Install the LATEST version of libpcap. Please make sure that you have removed any old version of pcap that you may have installed.
-
-Make sure you have gtk+-2.2 installed as AirSnort is a gui application. You will also need gtk+-devel in order for autogen.sh to work.
-
-Perform the following steps
- tar -xzf airsnort-.2.3a.tar.gzcd airsnort-.2.3a./autogen.shmake
-Poof you're done. The airsnort executable is in the airsnort-.2.3a/src subdirectory, do with it what you will. There are some man pages in airsnort-.2.3a/man
-
-Requires
-* prism2-utils
-* libatk-1..so.
-* libc.so.6
-* libdl.so.2
-* libgdk-x11-2..so.
-* libgdk_pixbuf-2..so.
-* libglib-2..so.
-* libgmodule-2..so.
-* libgobject-2..so.
-* libgtk-x11-2..so.
-* libm.so.6
-* libpango-1..so.
-* libpangox-1..so.
-* libpangoxft-1..so.
-* libpcap.so.
-* libpthread.so.
-
- iwconfig
- lo no wireless extensions.
-
- eth0 no wireless extensions.
-
-
eth1 IEEE 802.11b/g ESSID:"deb1" Nickname:"mordor"
- Mode:Ad-Hoc Channel:5
Cell: 72
:6F
:EE
:8D
:F7
:C6
+eth1 IEEE 802.11b/g ESSID:"deb1" Nickname:"mordor"
+ Mode:Ad-Hoc Channel:6
Cell: 42
:F5
:A8
:9E
:54
:CF
Bit Rate:11Mb/s Tx-Power=31 dBm Sensitivity=20/200
Retry min limit:8 RTS thr:2347 B Fragment thr:2346 B
Encryption key:off
- Link Quality:157
/0 Signal level:-53 dBm Noise level:-1
dBm
+ Link Quality:177
/0 Signal level:-53 dBm Noise level:-32
dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
-
sl0 ESSID:off/any Nickname:""
+sl0 ESSID:off/any Nickname:""
NWID:8 Channel:80 Access Point: FF:BF:21:00:00:00
Bit Rate=-1.07375e+06kb/s Tx-Power=-1073746380 dBm Sensitivity=8/0
Retry:on RTS thr=-1073746380 B Fragment thr=-1073746380 B
Encryption key:0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000-0000
Power Management:on
+NB sl0 is my Modem
-BTW
sl0 is my modem
+cat /proc/net/dev
+Inter-| Receive | Transmit
+ face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
+ lo: 36700 511 0 0 0 0 0 0 36700 511 0 0 0 0 0
+ eth0: 0 0 0 0 0 0 0 0 5476 18 0 0 0 0 18
+ eth1: 985616 12647 0 0 0 0 0 0 111013 868 0 0 0 0 0
+
sl0: 0 0 0 0 0 0 0 0 68564 819 0 0 0 0 0
+ sit0: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
- Vendor
: Harris Semiconductor
- Bus
: PCI
- Bus identification
: 1260
:3890
:1385
:4800
- Location on the bus
: 3
::
- Description
: D
-Links DWL-g650 A1
- Module
: prism54
- Media class
: NETWORK_OTHER
+iwconfig eth1
+eth1 IEEE 802.11b/g ESSID:"deb1"
Nickname
:"mordor"
+ Mode
:Ad-Hoc Channel:6 Cell: 9E:05:A8:9E:54:CF
+ Bit Rate
:11Mb/s Tx-Power=31 dBm Sensitivity=20/200
+ Retry min limit
:8 RTS thr
:2347 B Fragment thr
:2346 B
+ Encryption key
:off
+ Link Quality
:196/
0 Signal level
:-55 dBm Noise level
:-245 dBm
+ Rx invalid nwid
:0 Rx invalid crypt:0 Rx invalid frag:
+ Tx excessive retries
:0 Invalid misc:0 Missed beacon:
-!!!Setting up the interfaces:
-
-When you run ifconfig, you might not see your wireless device.
Use the command 'iwconfig' to show the wireless devices that are connected and set to use
. First things first
. You need to set an IP for this device
. If you do not set one before setting the wireless options, you will not get a link
.
-
- ifconfig ''<device>'' ''<IP address>''
-
-Now to set it to link up with the wireless access point
. once again we'll use iwconfig to set the ESSID, which needs to match the SSID of your AP or Router to link to
.
-
- iwconfig eth1 essid ''MYWIRELESS''
-
-Generally this should link you to the wireless AP
. If it doesn't, you might try to set the wireless device a bit more
. Some devices will not take some of these options
.
-
-
-----
-
-I'm having problems getting my netgear wg511 to work
. I compiled the
-drivers from ISL3890 fine and changed /etc/sysconfig/pcmcia to contain
-PCIC=i82365 & PCMCIA=yes
. However, when I modprobe islpci_cb I get
-the errors
-
-Try changing your PCIC=i82365 line to "PCIC=yenta_socket"
-
- ifconfig
- eth0
Link encap:Ethernet HWaddr 00:08:74:E1:80:B1
- UP BROADCAST MULTICAST MTU:1500 Metric:1
- RX packets:
0 errors:
0 dropped:
0 overruns:
0 frame:
- TX packets:
0 errors:
0 dropped:
0 overruns:
0 carrier:
- collisions:
0 txqueuelen:1000
- RX bytes:
0 (
.0 b) TX bytes:
0 (
.0 b)
- Interrupt:10 Base address:0x3000
+route -n
+Kernel IP routing table
+Destination Gateway Genmask Flags Metric Ref
Use Iface
+10
.
.
.3
.
.
.0 255
.255
.255
.255 UH 1 0 0 sl0
+192
.168
..0 ...0 255.255.255.0 U 0
0 0 eth1
+127.
.
.
0
.
.
.
0 255.
.
.
0 U 0 0
0 lo
+.
..
0
...0 ...0 U 1 0 0 sl0
-
eth1 Link encap:Ethernet HWaddr 00:09:5B:C2:C7:1A
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:131 errors:0 dropped:0 overruns:0 frame:
- TX packets:372 errors:0 dropped:0 overruns:0 carrier:
- collisions:0 txqueuelen:1000
- RX bytes:22527 (21.9 Kb) TX bytes:24780 (24.1 Kb)
- Interrupt:10
-
- eth1:9
Link encap:Ethernet HWaddr 00:09:5B:C2:C7:1A
- inet addr:127
.255
.255
.255
Bcast:127
.255
.255
.255 Mask:255.
.
.
+ifconfig
eth1
+eth1
Link encap:Ethernet HWaddr 00:09:5B:C2:C7:1A
+ inet addr:192
.168
.
.5
Bcast:192
.168
.
.255 Mask:255.255
.255
.
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:76
errors:0 dropped:0 overruns:0 carrier:
+ TX packets:48
errors:0 dropped:0 overruns:0 carrier:
collisions:0 txqueuelen:1000
- RX bytes:0 (.0 b) TX bytes:4617
(4.
5 Kb)
+ RX bytes:0 (.0 b) TX bytes:5316
(5.1
Kb)
Interrupt:10
- lo Link encap:Local Loopback
- inet addr:127
.
..1 Mask:255
..
.
- UP LOOPBACK RUNNING MTU:16436 Metric:
1
- RX packets:450 errors:
0 dropped:0 overruns:0 frame
:
- TX packets:450 errors:
0 dropped:0 overruns:0 carrier
:
- collisions:
0 txqueuelen
:
- RX bytes:41709 (40
.7 Kb) TX bytes:41709 (40.7 Kb)
+If I remove WLAN and insert LAN I get
+ping 192
.168
..1
+PING 192.168
..1 (192.168
..
1) 56(84) bytes of data.
+64 bytes from 192.168.
.1
: icmp_seq=1 ttl=64 time=
.549 ms
+64 bytes from 192.168.
.1
: icmp_seq=2 ttl=64 time=
.328 ms
+64 bytes from 192.168.
.1
: icmp_seq=3 ttl=64 time=
.322 ms
- sl0 Link encap:Serial Line IP
- inet addr:10.0.0.2 P-t-P:10.0.0.3 Mask:255.255.255.255
- UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:76 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:10
- RX bytes:0 (0.0 b) TX bytes:4617 (4.5 Kb)
- host -l mordor
- ;; connection timed out; no servers could be reached
- host -T
-allows TCP/
IP
+NOTE: It's important that you setup the interface in the following steps
+1) Make sure the interface (eth1) is down
+2) Execute the iwconfig commands
+3) Execute the ifconfig command (will Add
IP and bring interface up)
+4) Perform tests
+
+This order is crucial because the new network settings are not written
+to the wireless card until you bring the interface up (via the ifconfig
+command).
+
+Now the Internet!
-Bill Rosoman
-mailto:leftfieldnz@NOSPAM.yahoo.co.uk
+Bill