LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > MEPIS
User Name
Password
MEPIS This forum is for the discussion of MEPIS Linux.

Notices

Reply
 
Search this Thread
Old 03-31-2007, 10:31 PM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Glendale, AZ
Distribution: Distro-homeless. Lost.
Posts: 1,874

Rep: Reputation: 62
connecting to a wireless network


Can anyone tell me all the steps to connect to a wireless network in MEPIS 6.x? I figured this out easily when I had 3.x, but the controls are different enough in 6.x that I can't get it set up again, and am not sure what's wrong or missing. I have set up Ndiswrapper with the correct driver, have given the control panel my network's ESSID, and currently have it set to find the network with a DHCP(sp?) broadcast. I didn't think this was equipment-specific other than giving Ndiswrapper the correct driver, but if anyone needs to know, I am connecting to the network with a Linksys WUSB54G access point. The router is a Linksys WRT54G. (I am typing this in Windows, for obvious reasong, but if information on other settings is needed, I can go back to MEPIS and find it.)
 
Old 04-01-2007, 04:50 AM   #2
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
It shouldn't depend on the hardware used as long as your ndiswrapper is working all right, or you're using native drivers that work all right. I myself would start off by making sure the thing works at all:
Code:
iwconfig
should tell you if (at least one of) your devices work (others should give "no wireless extensions"). After this, if eth1 (For example) was the device that did have 'wireless extensions',
Code:
iwlist eth1 scanning
should provide you with some access points information (I'm not sure if it makes difference if you run it as root or as a regular user, try both if you're not getting anything). Then, when you know the ESSID of your preferred access point, try to connect to it (as root):
Code:
iwconfig eth1 essid <ESSID here> key s:<key here>
dhclient eth1
If eth1 is not the wireless device, change it. In place of <ESSID here> type the name you got using scanning. If your key is ASCII key, use s:keyname, if it's not (i.e. it's hexa) use just keyname without the 's:'. After that make sure dchp information is obtained, running either dhclient or dhcpcd depending on which one is installed on your system.

If that works, your device works, and the problem is with the graphical tool (I found out that Gnome 2.16 and at first in 2.18 the Network Manager applet didn't do something right with the keys and could not connect, but now that I did some updates, 2.18 can manage my wifi network's key and gets connected). If the command-line stuff did not work then you should think why that is, and get to the graphical tool only after that.

If you get any errors, problems etc. post here and let us know. It is possible that it's just the graphical tool that isn't working (note: when typing the key for it, make sure it understands the format -- is it ASCII, hexadecimal and WEP or WPA when you need wpa_supplicant -- and so on), but that's made sure with the command-line tools.
 
Old 04-01-2007, 11:27 PM   #3
mepnoob2005
Member
 
Registered: Mar 2007
Location: canada
Distribution: SimplyMEPIS 6.5 final
Posts: 104

Rep: Reputation: 15
Quote:
Originally Posted by newbiesforever
Can anyone tell me all the steps to connect to a wireless network in MEPIS 6.x? I figured this out easily when I had 3.x, but the controls are different enough in 6.x that I can't get it set up again, and am not sure what's wrong or missing. I have set up Ndiswrapper with the correct driver, have given the control panel my network's ESSID, and currently have it set to find the network with a DHCP(sp?) broadcast. I didn't think this was equipment-specific other than giving Ndiswrapper the correct driver, but if anyone needs to know, I am connecting to the network with a Linksys WUSB54G access point. The router is a Linksys WRT54G. (I am typing this in Windows, for obvious reasong, but if information on other settings is needed, I can go back to MEPIS and find it.)
You may just need to click the 'interfaces' tab in MEPIS Network assistant. Then check all three boxes 'Start at boot' , 'Start when plugged', and 'Start/restart on apply' that should get you going. Type mnetwork into konsole to get there fast.
 
Old 04-11-2007, 04:36 PM   #4
cam34
Member
 
Registered: Aug 2003
Distribution: OpenSuse 11.1, SLES10, Fedora 11 & XP 4 Gaming *sniffs
Posts: 101

Rep: Reputation: 16
If im feeling lazy I type in konsole:
Code:
ifup wlan0
Proberly wouldn't work if you have WEP
Also I just connects to the first AP it finds, unless us specify something first with the
Code:
iwconfig wlan0 essid ESSIDNAME channel CHANNELNUMBER
To disconnect type
Code:
ifdown wlan0
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting to Wireless Network Zephryos Linux - Software 3 01-28-2006 05:45 PM
wireless network not connecting jburford Linux - Wireless Networking 11 07-08-2005 08:14 AM
Connecting to Wireless network ms82xp Linux - Wireless Networking 1 02-06-2005 08:44 PM
Connecting to wireless network? cucolin@ Linux - Wireless Networking 5 03-06-2004 01:16 PM
need help connecting to my wireless network skiguy Linux - Wireless Networking 6 11-05-2003 10:04 PM


All times are GMT -5. The time now is 02:59 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