LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 11-03-2007, 07:28 PM   #1
AMarkos
LQ Newbie
 
Registered: Oct 2007
Posts: 21

Rep: Reputation: 15
Wireless and DHCP Trouble


Hi

I set my wifi with iwconfig wlan0 essid "blablabla".

In the iwconfig I see that there is no problem, that the data is successfully entered, however, when I do a ping it does not work. My router uses DHCP to offer addresses to the ones that connect.
I do a route command and only the loopback shows. Any ideas? I am using Slackware 12.
 
Old 11-03-2007, 08:16 PM   #2
dgar
Member
 
Registered: Jun 2005
Location: Candia, NH
Distribution: Ubuntu, FC, RHE3, RHE4, CentOS
Posts: 121

Rep: Reputation: 15
What wifi card?

Some prism cards need a nebulously documented:
ifconfig wlan0 up

Before DHCP works.
 
Old 11-03-2007, 08:18 PM   #3
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
Try:
- ifconfig wlan0 up
- iwconfig wlan0 essid "blabla"
- dhcpcd wlan0

If you have any security set up on that wireless network, you'll have to add more steps to get that working but from what you've said, I don't know. For me, even though I see a wlan0 also, my actual device is ath0. See if you don't have something else listed under 'ifconfig'.
 
Old 11-03-2007, 08:47 PM   #4
dgar
Member
 
Registered: Jun 2005
Location: Candia, NH
Distribution: Ubuntu, FC, RHE3, RHE4, CentOS
Posts: 121

Rep: Reputation: 15
Quote:
Originally Posted by Vincent_Vega View Post
Try:
- ifconfig wlan0 up
- iwconfig wlan0 essid "blabla"
- dhcpcd wlan0

If you have any security set up on that wireless network, you'll have to add more steps to get that working but from what you've said, I don't know. For me, even though I see a wlan0 also, my actual device is ath0. See if you don't have something else listed under 'ifconfig'.
Check 'ifconfig -a' as well.
 
Old 11-04-2007, 08:44 AM   #5
AMarkos
LQ Newbie
 
Registered: Oct 2007
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks, it works with the up parameter.
 
Old 11-04-2007, 09:43 AM   #6
dgar
Member
 
Registered: Jun 2005
Location: Candia, NH
Distribution: Ubuntu, FC, RHE3, RHE4, CentOS
Posts: 121

Rep: Reputation: 15
Quote:
Originally Posted by AMarkos View Post
Thanks, it works with the up parameter.

For the untold number of future googlers looking for this particular bit of magic... can you post the following:

lspci | grep -i wireless

The name of the module from 'lsmod'... maybe 'lsmod | grep ieee80211'

iwconfig (you can XXXX out the MAC address and ESSID identifiers)

And of course, the fix. I'm still unsure if you added 'up' to eth2 or wlan0 or what? And does this work over a reboot?
 
  


Reply



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
DHCP / DNS Trouble gkurts Linux - Networking 3 06-29-2009 04:37 AM
wireless/madwifi trouble on Slackware 12 - unable to get dhcp response jeffmccoy Slackware 1 07-27-2007 10:29 AM
Trouble installing wireless-tools & trying to install Wireless PCI pragmatic Linux - Wireless Networking 1 06-21-2005 07:39 AM
Trouble with DHCP and Sound drzigman Linux - Hardware 6 01-25-2003 10:27 PM
Slackware 8.1 DHCP trouble matruschka Linux - Networking 6 07-12-2002 08:21 AM

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

All times are GMT -5. The time now is 07:57 PM.

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