LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-04-2012, 12:09 PM   #16
JimBrewster
Member
 
Registered: Feb 2010
Location: usa:/dev/random
Distribution: Slackware-15.0; -current
Posts: 245

Rep: Reputation: 60

I did this for years before I found wicd. I never had a problem loading drivers for my atheros card, so can't really help there. Also I've always run this with an unsecured network, but assuming your drivers are loaded:

Code:
# iwconfig
should give you a list of your devices and their wireless specs. Then

Code:
# iwconfig <wifidevice> scan
..(or something like that) should show available access points. Then

Code:
# iwconfig <wifidevice> essid "<essid-for-your-network>"
should connect the card to your network. Then

Code:
# dhclient <wifidevice>
should give you an IP.

If your network is set up differently re security or dhcp you'll have to make adjustments to these commands. 'man iwconifg' and 'man dhclient' will help; they did for me!

Last edited by JimBrewster; 01-04-2012 at 12:10 PM. Reason: fixed code blocks
 
Old 01-04-2012, 01:21 PM   #17
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Member response

Hi,
Quote:
Originally Posted by VisionIncision View Post
Hi all,
I have tried all of the suggestions here. I might just manually set up my wireless connections. Any pointers? Never done it manually.

Regards,
Jack.

You should have your '/etc/resolv.conf' setup with your 'ISP DNS' nameservers.

sample '/etc/resolv.conf';
Code:
 search 192.168.0.1 #if this happens to be your DNS 
 nameserver xxx.xxx.xxx.xxx   #ISP DSN 'replace xxx.xxx.xxx.xxx
                              #with IP from your ISP
 nameserver 4.2.2.1           #Verizon third level DNS
 nameserver 4.2.2.2           #if needed
 nameserver 4.2.2.3
 nameserver 4.2.2.4
You could setup a static IP first, do as root from cli. p { margin-bottom: 0.08in; }
Code:
 ~#ifconfig wlan0 192.168.0.18    #<<< available IP
 ~#route add default gw 192.168.0.1 #<<your gateway
 ~#iwlist wlan0 scan #<< use information to fill in for essid & ap information
 ~#iwconfig wlan0 essid "Your Wireless"
 ~#iwconfig wlan0 key your_key_here
 ~#iwconfig wlan0 ap xx:xx:xx:xx:xx:xx #<<Your _ap_from iwlist
Test it;
Code:
 ~#route -n                         #show the route table
  ~#ifconfig wlan0 up                #should be up already
  ~#ping 192.168.0.1                 #ping your gateway
  ~#ping 208.69.32.130               #google.com IP
  ~#ping google.com                  #test DNS, if fail then
                                     #check /etc/resolv.conf
I use the script below to setup my wireless while experimenting.
Code:
   wlan.sh;
  #start here
 #!/bin/bash
 #
 #10-26-09 13:30 gws
 #setup the wlan0 device
 #
 /sbin/ifconfig wlan0 192.168.0.18
 /sbin/route add default gw 192.168.0.1
 /sbin/iwconfig wlan0 essid "Your_Wireless_Access"
 /sbin/iwconfig wlan0 key Place Your_key
 /sbin/iwconfig wlan0 ap 00:00:00:00:00:00 << your AP HW address from above iwlist scan
 #end here
Be sure to include essid, key and AP for the above sample.
 
  


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
Wicd WiFi connection fails - bad password -wpa2 frank4360 Linux - Software 11 02-18-2012 02:52 PM
Wicd Returns "Bad Password" brmccarty Linux - Wireless Networking 1 03-31-2011 08:33 AM
Slackware; wicd bad password guisome Linux - Wireless Networking 3 02-20-2011 06:53 PM
Wicd - 'Bad Password' error brinesharks Linux - Wireless Networking 1 02-01-2011 06:46 AM
WiCD shows the password trainee Slackware 2 08-02-2010 07:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:28 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration