need help with laptop network

Ron Young ronyoung8 at verizon.net
Tue Mar 7 21:15:50 UTC 2006


I have a Dlink wireless card in my laptop. I installed it more or less the
same way , but I use Wifi-Radar to make the connection.

Wifi-radar is a great tool. It works great. Much better than any Windows
tool I've seen.

Ron Young

http://www.bitbuilder.com/wifi_radar/

-----Original Message-----
From: crux-bounces at fukt.bth.se [mailto:crux-bounces at fukt.bth.se]On
Behalf Of smagnuson at forzani.com
Sent: Tuesday, March 07, 2006 7:00 AM
To: crux at fukt.bth.se
Subject: RE: need help with laptop network



I have a dlink wireless card in my desktop.  This is how I set it up.  Not
sure if it's of any help but I figured
I might as well share.  I was surprised at how easy it was once I decided to
figure it out.

####

How to setup dlink wifi on crux 2.1

http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Linux.Wireless.drivers.
802.11ag.html#AtherosMADWiFi
http://madwifi.org/wiki/UserDocs/FirstTimeHowTo
http://madwifi.org/wiki/UserDocs/GettingMadwifi
http://snapshots.madwifi.org/

Requirements
    * A PCI/miniPCI or Cardbus card with an Atheros chipset.
    * You will need root privileges for the machine on which you intend to
install MADWiFi.
    * You will need to know how to install packages for your machine's
distribution. Methods vary, but this would normally be done through a
package manager such as synaptic, yum or portage. Refer to your
distributions documentation for details.
    * Packages you will need to have installed:
          o sharutils -- MADWiFi stores some components 'uuencoded'. You
need sharutils in order to be able to unpack them.
    * A full build environment, including:
          o gcc -- You need a C-compiler to be able to build MADWiFi.
          o make -- Used to automatically build programs.
          o The sources and headers for the kernel you're using. (These are
normally in a package called something like kernel-headers-<version>.)

#install prerequisites
sudo prt-get install sharutils

#download and install madwifi
cd ~/src
wget http://snapshots.madwifi.org/madwifi-ng-current.tar.gz
gzip -d madwifi-ng-current.tar.gz
tar -xf madwifi-ng-current.tar
cd madwifi-ng-r*
sudo make
sudo make install


###
###If you want/can skip to wifi rc script and and run it or reboot.  If you
have trouble come back to here and test.
###


#load the driver module
sudo /sbin/modprobe ath_pci

#bring up the wireless interface
sudo /sbin/ifconfig ath0 up

#make a normal station mode interface
sudo /usr/local/bin/wlanconfig ath0 create wlandev wifi0 wlanmode sta

#display wireless config
sudo /usr/sbin/iwconfig
lo        no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:""
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:0F:66:25:46:27
          Bit Rate:48 Mb/s   Tx-Power:18 dBm   Sensitivity=0/3
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=36/94  Signal level=-59 dBm  Noise level=-95 dBm
          Rx invalid nwid:3  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

#connecting to an open AP
sudo /usr/sbin/iwconfig ath0 essid "magwireless"

#display wireless config
sudo /usr/sbin/iwconfig
lo        no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:"magwireless"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:0F:66:25:46:27
          Bit Rate:48 Mb/s   Tx-Power:18 dBm   Sensitivity=0/3
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=37/94  Signal level=-58 dBm  Noise level=-95 dBm
          Rx invalid nwid:3  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

#get a ip address
sudo /sbin/dhcpcd ath0

#scan for wireless connections
/usr/local/bin/wlanconfig ath0 list scan
OR
/usr/sbin/iwlist ath0 scan



#RC script for wireless card
sudo cat /etc/rc.d/wifi
#!/bin/sh
#
# /etc/rc.d/wifi: start/stop network
#

case $1 in
start)
        /sbin/ifconfig lo 127.0.0.1
        /sbin/modprobe ath_pci
        /usr/local/bin/wlanconfig ath0 create wlandev wifi0 wlanmode sta
        /usr/sbin/iwconfig ath0 essid "magwireless"
        /sbin/dhcpcd ath0
        ;;
stop)
        /usr/bin/killall -q /sbin/dhcpcd ath0
        /sbin/ifconfig lo down
        ;;
restart)
        $0 stop
        $0 start
        ;;
*)
        echo "usage: $0 [start|stop|restart]"
        ;;
esac

# End of file





-----Original Message-----
From: crux-bounces at fukt.bth.se [mailto:crux-bounces at fukt.bth.se]On
Behalf Of Geoffrey Zheng
Sent: Sunday, March 05, 2006 7:19 PM
To: crux at fukt.bth.se
Subject: need help with laptop network


Hi, all

I have successfully install CRUX 2.1 on my laptop, but I need help to
install my lan & wlan netcards,
can anybody tell me where can i find instructions? thanks in advance.

I wonder if it's appropriate to ask these kind of questions here.

here is my /proc/pci:

PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Intel Corp. 82852/855GM Host Bridge (rev 2).
  Bus  0, device   0, function  1:
    System peripheral: Intel Corp. 855GM/GME GMCH Memory I/O Control
Registers (rev 2).
  Bus  0, device   0, function  3:
    System peripheral: Intel Corp. 855GM/GME GMCH Configuration Process
Registers (rev 2).
  Bus  0, device   2, function  0:
    VGA compatible controller: Intel Corp. 82852/855GM Integrated Graphics
Device (rev 2).
      IRQ 11.
      Prefetchable 32 bit memory at 0xf0000000 [0xf7ffffff].
      Non-prefetchable 32 bit memory at 0xfeb00000 [0xfeb7ffff].
      I/O at 0xdc00 [0xdc07].
  Bus  0, device   2, function  1:
    Display controller: Intel Corp. 82852/855GM Integrated Graphics Device
(#2) (rev 2).
      Prefetchable 32 bit memory at 0xe8000000 [0xefffffff].
      Non-prefetchable 32 bit memory at 0xfea80000 [0xfeafffff].
  Bus  0, device  29, function  0:
    USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB
UHCI Controller #1 (rev 3).
      IRQ 11.
      I/O at 0xd480 [0xd49f].
  Bus  0, device  29, function  1:
    USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB
UHCI Controller #2 (rev 3).
      IRQ 5.
      I/O at 0xd800 [0xd81f].
  Bus  0, device  29, function  2:
    USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB
UHCI Controller #3 (rev 3).
      IRQ 4.
      I/O at 0xd880 [0xd89f].
  Bus  0, device  29, function  7:
    USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI
Controller (rev 3).
      IRQ 4.
      Non-prefetchable 32 bit memory at 0xfebff800 [0xfebffbff].
  Bus  0, device  30, function  0:
    PCI bridge: Intel Corp. 82801 PCI Bridge (rev 131).
      Master Capable.  No bursts.  Min Gnt=6.
  Bus  0, device  31, function  0:
    ISA bridge: Intel Corp. 82801DBM LPC Interface Controller (rev 3).
  Bus  0, device  31, function  1:
    IDE interface: Intel Corp. 82801DBM (ICH4) Ultra ATA Storage Controller
(rev 3).
      IRQ 4.
      I/O at 0xffa0 [0xffaf].
      Non-prefetchable 32 bit memory at 0x1f800000 [0x1f8003ff].
  Bus  0, device  31, function  5:
    Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 3).
      I/O at 0xe000 [0xe0ff].
      I/O at 0xe100 [0xe13f].
      Non-prefetchable 32 bit memory at 0x1f800400 [0x1f8005ff].
      Non-prefetchable 32 bit memory at 0x1f800600 [0x1f8006ff].
  Bus  0, device  31, function  6:
    Modem: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem
Controller (rev 3).
      IRQ 11.
      I/O at 0xe200 [0xe2ff].
      I/O at 0xe300 [0xe37f].
  Bus  1, device   4, function  0:
    Network controller: Intel Corp. PRO/Wireless LAN 2100 3B Mini PCI
Adapter (rev 4).
      IRQ 4.
      Master Capable.  Latency=64.  Min Gnt=2.Max Lat=34.
      Non-prefetchable 32 bit memory at 0xfe8fd000 [0xfe8fdfff].
  Bus  1, device   5, function  0:
    CardBus bridge: Ricoh Co Ltd RL5c475 (rev 184).
      Master Capable.  Latency=32.  Min Gnt=128.Max Lat=7.
      Non-prefetchable 32 bit memory at 0x1f801000 [0x1f801fff].
  Bus  1, device   5, function  1:
    FireWire (IEEE 1394): Ricoh Co Ltd R5C551 IEEE 1394 Controller (rev 0).
      IRQ 11.
      Master Capable.  Latency=64.  Min Gnt=2.Max Lat=4.
      Non-prefetchable 32 bit memory at 0xfe8ff000 [0xfe8ff7ff].
  Bus  1, device   8, function  0:
    Ethernet controller: Intel Corp. 82801BD PRO/100 VM (MOB) Ethernet
Controller (rev 131).
      IRQ 11.
      Master Capable.  Latency=64.  Min Gnt=8.Max Lat=56.
      Non-prefetchable 32 bit memory at 0xfe8fe000 [0xfe8fefff].
      I/O at 0xcc00 [0xcc3f].

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee®
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963




More information about the CRUX mailing list