LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-28-2002, 10:29 AM   #1
tommylkc
LQ Newbie
 
Registered: Jun 2002
Location: Hong Kong
Posts: 7

Rep: Reputation: 0
Question Setting up wireless LAN


I would like to construct a wireless LAN and attach to my local network.
However, I encounter some problems on doing this.

I have a notebook with a PCMCIA wireless LAN card (Intel PRO/Wireless 2011 PC LAN card) and an access point(Intel PRO/Wireless access point, I don't remember the exact model). I follow closely with the documentation PCMCIA-Howto. I use pcmcia-cs-3.0.9 which comes with Red Hat Linux 7.2. I add the following lines (copied from pcmcia-cs-3.1.34, because the installation of pcmica-cs-3.1.34 makes linux out of order -_-) in etc/pcmcia/config:

==================================
card "Intel PRO/Wireless 2011"
manfid 0x0089, 0x0001
bind "orinoco_cs"
==================================

I think the configuration of PCMCIA is successful (because of some symptoms: giving two high beeps at insertion, cardctl giving reasonable output, dmesg shows that eth0 starts and is ready at insertion). Then, I modify /etc/pcmcia/network.conf like this:

==================================
case "$ADDRESS" in
*,*,*,*)
BOOTP="n"
IPADDR="192.168.254.80"
NETMASK="255.255.255.0"
NETWORK="192.168.254.0"
BROADCAST="192.168.254.255"
GATEWAY="192.168.254.81" <- the IP addr of access point
;;
esac
==================================

However, this does not take effect when I either insert my card or use "/etc/rc.d/init.d/pcmcia restart". There is no IP address shown using "ifconfig -a" (but eth0 and its MAC address exist). It can only get a static IP addr when I use "ifconfig eth0 192.168.254.80".

Then, I modify wireless.opts as follows:
==================================
case "$ADDRESS" in
*,*,*,*)
ESSID="MY_ESSID"
NWID="101" <- network ID of access point
MODE="Managed"
;;
esac
==================================


However, it doesn't work. Using "iwconfig" gives MAC address 00-00-00-00-00-00 and ESSID="" etc. Trying "./wireless" (with some parameters) does not give changes.

I would like to know:
(1) How can I make "ifconfig" get an IP addr when I just insert the card?
(2) How can I configure the access point, wireless.opts and my card in order to make my notebook be able to access my access point and other computers in LAN?
(3) Is there any excellent reference for setting up wireless LAN other than "http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/" ?
 
Old 06-28-2002, 11:28 AM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
try this, see if it works, after inserting the card



ifconfig eth0 192.168.254.80

route add default gw 192.168.254.81

ping 192.168.254.81

 
Old 06-29-2002, 09:28 AM   #3
tommylkc
LQ Newbie
 
Registered: Jun 2002
Location: Hong Kong
Posts: 7

Original Poster
Rep: Reputation: 0
Sorry......it still can't work
I think the setting of network.opts and wireless.opts still can't take effect.....
 
Old 06-30-2002, 11:53 AM   #4
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
what does ifconfig show?

what does route -n show?
 
Old 07-03-2002, 12:51 AM   #5
tommylkc
LQ Newbie
 
Registered: Jun 2002
Location: Hong Kong
Posts: 7

Original Poster
Rep: Reputation: 0
First of all, thank you very much for your help.

The card can now reponse to the configuration in network.opts (i.e. the card gets its IP address, etc.)

route add still shows "Network unreachable"

I think there is some error in my configuration in wireless.opts.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Compex (NP16A) wireless router with USB wireless LAN atlantis8 Linux - Wireless Networking 1 09-19-2008 08:11 PM
wireless on Linux dying when I bring another wireless device in the LAN sal_paradise42 Linux - Wireless Networking 5 11-14-2004 03:38 AM
connecting to the internet via wireless through Intel PRo/Wireless LAN 2100 3B Mini P k_wjss Linux - Newbie 1 09-28-2004 05:00 PM
Setting up my wireless LAN internet on my slack laptop :D Belize Linux - Wireless Networking 17 10-04-2003 01:15 PM
Need Help Setting Up A Heterogeneous Wireless LAN postop Linux - Wireless Networking 2 08-05-2002 02:42 PM


All times are GMT -5. The time now is 08:11 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration