LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-10-2006, 01:04 PM   #1
AlfredSka
LQ Newbie
 
Registered: Mar 2003
Posts: 22

Rep: Reputation: 0
Philips CPWUA054 Wireless USB Adapter on SUSE 10.1


I have been trying to get the Philips CPWUA054 Wireless Adapter to work under SUSE 10.1. The instructions in this thread were helpful, but I'm not completely up and running yet. As of right now I can get onto my home wireless network but I can't surf the internet, whether by domain name (msn.com) or by IP address (207.68.172.246). The error message I receive when trying to ping outside of my network is "connect: Network Unreachable". Note that I can type the IP address of computers on my network and see their shares though.

Here's what I've done so far:
Code:
ndiswrapper -i CPWUA2D.inf
ndiswrapper -l
Installed drivers: cpwua2d driver installed, hardware present
depmod -a
modprobe ndiswrapper
dmesg
I haven't figured out how to properly load the module at boot time, so every time I restart the computer I type:
Code:
modprobe ndiswrapper
I'm using YasT to configure the settings. I have the option of Traditional Setup with ifup or though NetworkManager. Traditional has gotten me the closest so far, and after configuration I have the following for ifconfig and iwconfig respectively:

Code:
wlan0     Link encap:Ethernet  HWaddr 00:30:F1:C4:EA:BA
          inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::230:f1ff:fec4:eaba/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:135 errors:0 dropped:0 overruns:0 frame:0
          TX packets:155 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:25103 (24.5 Kb)  TX bytes:20474 (19.9 Kb)


wlan0     IEEE 802.11g  ESSID:"Beach"
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:0F:B5:E7:03:4A
          Bit Rate:54 Mb/s   Tx-Power:32 dBm
          RTS thr:2347 B   Fragment thr:2346 B
          Encryption key:<A LONG STRING OF HEX>
          Power Management:off
          Link Quality:100/100  Signal level:-54 dBm  Noise level:-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
If I try setup through KNetworkManger, I never get connected to the access point.

I'm sure you'll need more information, so let me know what would be helpful.

Thanks much,
Matt

Last edited by AlfredSka; 11-10-2006 at 01:55 PM.
 
Old 11-12-2006, 03:33 AM   #2
shaman66
Member
 
Registered: Jul 2004
Location: Poland, Bydgoszcz
Distribution: KUbuntu 5.10, Slack 10.2
Posts: 40

Rep: Reputation: 15
IMHO You dont have network gateway set up.

should be something like this
route add default -net 0.0.0.0/0 Gw GateWay-IP

You will have to adjust it to Your configuration
Is there DHCP server running on AP?
I'm not sure but You may also have to add a nameserver (DNS) to /etc/resolv.conf

That would be pretty much everything
If You have everything Up and running, add commands to Your start scripts and it should be configured everytime You boot Your OS
 
Old 11-12-2006, 01:57 PM   #3
AlfredSka
LQ Newbie
 
Registered: Mar 2003
Posts: 22

Original Poster
Rep: Reputation: 0
I'm still not online. I suspect a gateway problem as well. My route file under /etc/sysconfig/network now contains:
Code:
default         192.168.1.1     255.255.255.0     wlan0
When the network is activated, the entry still isn't in the routing table, so I manually add it:
Code:
route add default gw 192.168.1.1 netmask 255.255.255.0 wlan0
I end up with the following:
Code:
squid-linux:/etc/sysconfig/network # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.1.1     255.255.255.0   UG    0      0        0 wlan0
192.168.1.0     *               255.255.255.0   U     0      0        0 wlan0
link-local      *               255.255.0.0     U     0      0        0 wlan0
loopback        *               255.0.0.0       U     0      0        0 lo
But when I try to ping outside of my network, I still get "Network Unreachable". Web browsing obviously doesn't work either.

In response to some of your questions:
There is a DHCP server running on my wireless router, it successfully assigns me IP address 192.168.1.3. The router does allow the other windows clients, and one other linux client to connect to the internet just fine.

Last edited by AlfredSka; 11-12-2006 at 02:00 PM.
 
Old 11-12-2006, 03:37 PM   #4
shaman66
Member
 
Registered: Jul 2004
Location: Poland, Bydgoszcz
Distribution: KUbuntu 5.10, Slack 10.2
Posts: 40

Rep: Reputation: 15
ok, i found the bug (i hope)
when You add default network then genmask of target network must be 0.0.0.0
and that should be it
 
Old 11-12-2006, 04:30 PM   #5
AlfredSka
LQ Newbie
 
Registered: Mar 2003
Posts: 22

Original Poster
Rep: Reputation: 0
I'm writing this message from SuSE! Setting the subnet to 0.0.0.0 resolved the issue. The command I used was:
Code:
route add default gw 192.168.1.1 netmask 0.0.0.0 wlan0
The next step will be to automate all of this at boot time. I'll try to play around with this for a bit. Thanks for your help!
 
Old 11-12-2006, 05:13 PM   #6
shaman66
Member
 
Registered: Jul 2004
Location: Poland, Bydgoszcz
Distribution: KUbuntu 5.10, Slack 10.2
Posts: 40

Rep: Reputation: 15
np m8, np
 
  


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
Philips snu wireless USBHi, Philips snu wireless USB on ubuntu ofer_w Linux - Hardware 1 09-06-2006 09:25 AM
Suse 10.1 and Belkin Wireless G USB Adapter xbennyboy SUSE / openSUSE 1 05-23-2006 02:20 PM
Linksys Wireless B USB Adapter Possible On SUSE? link470 SUSE / openSUSE 4 08-29-2005 08:29 PM
DWL-122 USB Wireless USB adapter Suse 9.1? hal_casteel Linux - Wireless Networking 3 08-03-2004 07:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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