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 05-14-2010, 09:31 AM   #1
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Rep: Reputation: 94
My First problem with Slackware ( after almost one year as Slacker :D )


Hi Forum

Here it goes...

I have Slackware64 <current-from-December-2009> installed in my Lappy... so far so good, never gave me any problems till two days ago...

( But I guess this is not a "Slackware problem" but is more of a "*nix problem" )

Has to do with wireless configuration.

I do not use wicd, because I had to use Python 2.5 because some of the applications I use, need Py 2.5

I connect myself to a wireless AP using :

#ifconfig eth1 up
#iwlist eth1 scan
#iwconfig eth1 essid "My_Essid"
#dhclient eth1...

Then it will output some giberish in console...


Code:
Internet Systems Consortium DHCP Client V3.1.2p1
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth1/00:21:00:9d:98:c0
Sending on   LPF/eth1/00:21:00:9d:98:c0
Sending on   Socket/fallback
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPNAK from 192.168.11.254
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
receive_packet failed on eth1: Network is down
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 21
And it WOULD connect, outputing the time of the dhcp lease.

This is what I always did, and It worked.

Last few days I tried this "scheme", and it consistently repots that the network is down and stops trying.

What is strange is that when using a Knoppix LiveCD i can connect to the wireless like I always did...


So my WiFi card is OK...

This seems like some configuration file was left dangling around with incorrect info... how can I fix this thing...?

How can I prevent this from happening again...?



My Only problem with Slackware till now...


BRGDS

Alex
 
Old 05-14-2010, 10:43 AM   #2
trumpet_tom
Member
 
Registered: Dec 2004
Distribution: Slackware64-current
Posts: 95

Rep: Reputation: 19
What wifi card is that then?
 
1 members found this post helpful.
Old 05-14-2010, 10:49 AM   #3
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Original Poster
Rep: Reputation: 94
Hi Trumpet_tom

Thanks for your reply...

This is a Broadcom BCM 4312

But i guess there is no problem with the wl.ko module...

Did not upgrade the glibc, or kernel...

Like I told you... my Slackware is stable since 2009/December...

File/Folder permissions are allright... so <user> did not perform anything illegal, and <root> did not mess with any configuration files...

Until recently... ( about two days ago... ) I could connect...

But then again this DCHPNAK did not show up... I guess it is trying to get a lease from an IP that no longer exists... IMHO... but then again ... what do I know...?

Can this be fixed without having to reinstall...? I'm sure it can... only I do not know how...


BRGDS

Alex

EDIT : And I don't believe this is hardware related... : Using a Knoppix LCD could connect the same way I always did...

#ifconfig eth1 up
#iwconfig eth1 essid "eduroam-guest"
#dhclient eth1


... and no DHCPNAK thing...


Strange this stuff...

Last edited by Alexvader; 05-14-2010 at 10:54 AM.
 
Old 05-14-2010, 11:03 AM   #4
marrowsuck
Member
 
Registered: Sep 2006
Posts: 84

Rep: Reputation: 25
You could use dhcpcd instead of dhclient.
 
1 members found this post helpful.
Old 05-14-2010, 11:10 AM   #5
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Original Poster
Rep: Reputation: 94
YEEEESSSS


Kudos for you...

Just for the sake of enlightenment... what the heck happened to dhclient and its cofiguration files...?

i mean.. it was alright till before yesterday...

BRGDS
Alex
 
Old 05-14-2010, 11:10 AM   #6
trumpet_tom
Member
 
Registered: Dec 2004
Distribution: Slackware64-current
Posts: 95

Rep: Reputation: 19
I just found this, it seems to solve the problem.

http://ejohansson.se/archives/2006/0...43xx-and-dhcp/

Give it a go!

I'm guessing you don't want to always be trying to connect to this network? Otherwise I'd say just try putting the network details into the /etc/rc.d/rc.inet1.conf, which might work too.

Other than that maybe consider going for a stable release or the most recent slackware current if possible.

EDIT: didn't realise I had been beaten to it!

Last edited by trumpet_tom; 05-14-2010 at 11:11 AM. Reason: too late..
 
  


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
First time slacker with wireless problem EricTRA Slackware 12 09-09-2009 02:52 PM
Best Linux Distro for a 5 year old desktop and a 3 year old laptop silencer07 Linux - General 15 07-25-2008 04:44 PM
LXer: EE Times Announces Recipients of the Educator of the Year and Student of the Year ACE Awards LXer Syndicated Linux News 0 03-29-2006 03:21 AM
Slackware DIstro of the Year!!! gtgoku Slackware 8 02-07-2005 02:48 PM


All times are GMT -5. The time now is 05:13 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration