LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-23-2010, 12:18 PM   #46
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899

What is the output from
Code:
ifconfig
iwconfig
route -n
cat /etc/resolv.conf
ping 212.100.160.51
 
Old 02-23-2010, 12:53 PM   #47
R Tanner
Member
 
Registered: Sep 2008
Posts: 96

Original Poster
Rep: Reputation: 15
this is the output...i really need to do some more research so i understand what this stuff means exactly...

so it looks like there were packets transmitted for the eth0 connection (my wired connection)...maybe i need to add an ip address to the kernel routing table? (i'm totally guessing, just trying to learn )

Thanks so much for your help

Code:
bash-3.1# ifconfig                                                
eth0      Link encap:Ethernet  HWaddr 00:1b:24:4e:5c:11           
          inet addr:169.254.29.167  Bcast:169.254.255.255  Mask:255.255.0.0
          inet6 addr: fe80::21b:24ff:fe4e:5c11/64 Scope:Link               
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1               
          RX packets:11069 errors:0 dropped:0 overruns:0 frame:0           
          TX packets:1971 errors:0 dropped:0 overruns:0 carrier:0          
          collisions:0 txqueuelen:1000                                     
          RX bytes:1041849 (1017.4 KiB)  TX bytes:448006 (437.5 KiB)       
          Interrupt:20                                                     

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host     
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:22 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0                            
          RX bytes:1140 (1.1 KiB)  TX bytes:1140 (1.1 KiB)     

wlan0     Link encap:Ethernet  HWaddr 00:1a:73:bc:14:37  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1     
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000                        
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wmaster0  Link encap:UNSPEC  HWaddr 00-1A-73-BC-14-37-65-74-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

bash-3.1# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:""
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
          Tx-Power=27 dBm
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

bash-3.1# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
bash-3.1# cat /etc/resolv.conf
# Generated by dhcpcd for interface wlan0
nameserver 192.168.1.1
bash-3.1# ping 212.100.160.51
connect: Network is unreachable
bash-3.1#
 
Old 02-23-2010, 01:03 PM   #48
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Your wlan0 doesn't has an ip, and isn't associated with the wireless access point.
Does the access point uses DHCP?
Is WICD setup correctly ?
(dhcp, fixed ip, wep, wpa, wext...)
Are you allowed to use the access point?
Any pointers in the logfiles?
 
Old 02-23-2010, 01:58 PM   #49
R Tanner
Member
 
Registered: Sep 2008
Posts: 96

Original Poster
Rep: Reputation: 15
not sure if it uses DHCP or not...how can i tell? and i think i set up wicd correctly...i was at my friend's house yesterday and he had an open wireless signal that i was able to successfully connect to using wicd...

we had a server running windows server 2008 hooked up to this same internet connection before and it had internet access...is there any way i could tell on my end whether the domain or something is blocking me from using this access point?

how do i look for pointers in the log files? and what is a pointer? lol sorry. i'm still learning
 
Old 02-23-2010, 02:05 PM   #50
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
You can take a look in
/var/log/messages
open a terminal, then as root
Code:
tail -f /var/log/messages
Does the access point belong to you?
Most access points can filter access on mac address.

If you can connect at an open access point, the card works OK
Seems to me you are not allowed to use the access point.
 
Old 02-23-2010, 02:28 PM   #51
R Tanner
Member
 
Registered: Sep 2008
Posts: 96

Original Poster
Rep: Reputation: 15
the following is what i get...

if you still think i'm being blocked by my mac address then i'll check that out...problem being they probably don't necessarily want me connecting my personal laptop into the network... lol

Code:
bash-3.1# tail -f var/log/messages                                                        
Feb 23 14:05:57 darkstar dhcpcd[4089]: eth0: adding IP address 169.254.29.167/16
Feb 23 14:06:59 darkstar last message repeated 2 times
Feb 23 14:08:00 darkstar last message repeated 2 times
Feb 23 14:09:02 darkstar last message repeated 2 times
Feb 23 14:10:04 darkstar last message repeated 2 times
Feb 23 14:11:07 darkstar last message repeated 2 times
Feb 23 14:12:09 darkstar last message repeated 2 times
Feb 23 14:13:11 darkstar last message repeated 2 times
Feb 23 14:14:13 darkstar last message repeated 2 times
Feb 23 14:15:14 darkstar last message repeated 2 times
Feb 23 14:16:16 darkstar last message repeated 2 times
Feb 23 14:17:18 darkstar last message repeated 2 times
Feb 23 14:17:45 darkstar kernel: usb 1-2: new high speed USB device using ehci_hcd and address 4
Feb 23 14:17:45 darkstar kernel: usb 1-2: New USB device found, idVendor=058f, idProduct=6387
Feb 23 14:17:45 darkstar kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Feb 23 14:17:45 darkstar kernel: usb 1-2: Product: Flash Disk
Feb 23 14:17:45 darkstar kernel: usb 1-2: SerialNumber: AD4D7B51
Feb 23 14:17:45 darkstar kernel: usb 1-2: configuration #1 chosen from 1 choice
Feb 23 14:17:45 darkstar kernel: scsi5 : SCSI emulation for USB Mass Storage devices
Feb 23 14:17:49 darkstar dhcpcd[4089]: eth0: adding IP address 169.254.29.167/16
Feb 23 14:17:50 darkstar kernel: scsi 5:0:0:0: Direct-Access              Flash Disk       8.07 PQ: 0 ANSI: 2
Feb 23 14:17:50 darkstar kernel: sd 5:0:0:0: [sdb] 3911680 512-byte hardware sectors: (2.00 GB/1.86 GiB)
Feb 23 14:17:50 darkstar kernel: sd 5:0:0:0: [sdb] Write Protect is off
Feb 23 14:17:50 darkstar kernel: sd 5:0:0:0: [sdb] 3911680 512-byte hardware sectors: (2.00 GB/1.86 GiB)
Feb 23 14:17:50 darkstar kernel: sd 5:0:0:0: [sdb] Write Protect is off
Feb 23 14:17:51 darkstar kernel:  sdb: sdb1
Feb 23 14:17:51 darkstar kernel: sd 5:0:0:0: [sdb] Attached SCSI removable disk
Feb 23 14:17:51 darkstar kernel: sd 5:0:0:0: Attached scsi generic sg1 type 0
Feb 23 14:17:58 darkstar hald: mounted /dev/sdb1 on behalf of uid 0
Feb 23 14:18:21 darkstar dhcpcd[4089]: eth0: adding IP address 169.254.29.167/16
Feb 23 14:18:52 darkstar dhcpcd[4089]: eth0: adding IP address 169.254.29.167/16
Feb 23 14:19:54 darkstar last message repeated 2 times
Feb 23 14:20:56 darkstar last message repeated 2 times
Feb 23 14:21:27 darkstar dhcpcd[4089]: eth0: adding IP address 169.254.29.167/16
Feb 23 14:22:29 darkstar last message repeated 2 times
Feb 23 14:23:30 darkstar last message repeated 2 times
 
Old 02-23-2010, 02:31 PM   #52
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
problem being they probably don't necessarily want me connecting my personal laptop into the network... lol
Why don't you ask them?
Since it works at your friends home, the problem is not the card
 
Old 02-23-2010, 05:50 PM   #53
em21701
Member
 
Registered: Feb 2008
Location: Rhode Island, USA
Distribution: Slackware12.2 & Slackware64-current
Posts: 265

Rep: Reputation: 40
Filtering access by MAC address is like locking a car with masking tape:

Code:
ifconfig wlan0 down hw ether 00:11:22:33:44:55
ifconfig wlan0 up
will successfully change your MAC address. The IT people where I work are convinced that using a hidden network is safer too...pshhh.
 
Old 02-23-2010, 08:52 PM   #54
R Tanner
Member
 
Registered: Sep 2008
Posts: 96

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by em21701 View Post
Filtering access by MAC address is like locking a car with masking tape:

Code:
ifconfig wlan0 down hw ether 00:11:22:33:44:55
ifconfig wlan0 up
will successfully change your MAC address. The IT people where I work are convinced that using a hidden network is safer too...pshhh.
Thats pretty funny I love it. I've gotta learn all this awesome stuff. Linux is so much more awesome than windows. No question.

So umm..trying to connect to a network with a wpa2 passphrase. I try to connect through wicd and it tells me 'unable to get ip address' and this is the output from the konsole:

Code:
root@darkstar:~# dhcpcd wlan0
err, wlan0: timed out        
warn, wlan0: using IPV4LL address 169.254.223.7
root@darkstar:~# iwconfig wlan0                
wlan0     IEEE 802.11bg  ESSID:"<hidden>"      
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated                                                           
          Tx-Power=27 dBm                                         
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B   
          Encryption key:off                                      
          Power Management:off                                    
          Link Quality:0  Signal level:0  Noise level:0           
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

root@darkstar:~# iwconfig wlan0 essid "Katies Corner"
root@darkstar:~# iwconfig wlan0
wlan0     IEEE 802.11bg  ESSID:"Katies Corner"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated                                                           
          Tx-Power=27 dBm                                         
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B   
          Encryption key:off                                      
          Power Management:off                                    
          Link Quality:0  Signal level:0  Noise level:0           
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

root@darkstar:~# iwconfig wlan0
wlan0     IEEE 802.11bg  ESSID:"<hidden>"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated                                                           
          Tx-Power=27 dBm                                         
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B   
          Encryption key:off                                      
          Power Management:off                                    
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

root@darkstar:~# iwconfig wlan0 essid "Katies Corner"
root@darkstar:~# iwconfig wlan0
wlan0     IEEE 802.11bg  ESSID:"Katies Corner"
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
          Tx-Power=27 dBm
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

root@darkstar:~# iwconfig wlan0 key s:noahthomas
Error for wireless request "Set Encode" (8B2A) :
    SET failed on device wlan0 ; Invalid argument.
 
Old 02-23-2010, 10:31 PM   #55
mryuck
Member
 
Registered: Feb 2010
Posts: 107

Rep: Reputation: 23
In wicd preferences>advanced settings. Make sure under wpa supplicant the driver is set to wext.
 
  


Reply

Tags
slackware



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
Configuring wireless sreyesp Slackware 1 11-04-2007 03:42 AM
Need Help on configuring my RH 9 wireless halluva Linux - Wireless Networking 1 12-27-2006 12:30 PM
Configuring wireless (Please help) hexadecimal_0xF Fedora 1 09-12-2006 01:19 AM
Configuring Wireless abelloda Linux - Laptop and Netbook 2 11-11-2005 07:17 AM
Configuring Wireless hybrid0006 Linux - Newbie 13 08-02-2004 09:49 PM

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

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