i'm thinking it must be something to do with my settings.
i have my ip addresses configured manually, they should work, but it seems it isn't getting its dns properly to me.
i'm thinking it must be something to do with my settings.
i have my ip addresses configured manually, they should work, but it seems it isn't getting its dns properly to me.
ahh, of course, i had my network cable connected. but that explains why that won't work.
i'll give my settings to you in case they're messing with each other.
eth0
ip 192.168.1.2
sub 255.255.255.0
gateway 192.168.1.1
dns 192.168.0.1
wlan0
ip 192.168.0.2 (also tried 22 instead of 2 in case i'd set anything else as 2)
sub 255.255.255.0
gateway/dns 192.168.0.1
Are you positive that everything is configured properly on your router's end to grant an IP of 192.168.0.22 to your wireless card? Note that you may need to specify the wireless card's MAC address, not just its hostname, if you're not already doing so.
I also notice in your last post that eth0's gateway is set to 192.168.1.1, but its DNS is 192.168.0.1. wlan0, in contrast, is using 192.168.0.1 for both gateway and DNS. Maybe this was just a typo in your post, but if not, did you specify the wrong gateway for wlan0? Which devices are at 192.168.0.1 and 192.168.1.1, respectively?
Is there a way you could switch to dynamic IP via dhcp just to see what happens there? Knowing the outcome of that would be useful because there are two possible sources of your problem--1) a misconfiguration with the IP/gateway/DNS settings on wlan0, which is easy to fix; or 2) some problem with the rtl8187 driver, which is more complicated. If your wireless connection also fails using dynamic IPs, then we would know with relative certainty that this comes down to a driver issue.
Last edited by pytheas22; January 29th, 2009 at 11:06 PM.
i have always set up my ip addresses manually since i set up my first wireless network nigh on 7 years ago, i've checked and double checked them, i'm certain they're right.
i can't set up dhcp because it would then screw up the other computers connecting to the router, but i'm pretty sure the problem's not with the router settings or my settings on the pc, because when i click my connection in connection manager and it re-initialises, i can ping my router with 3 or 4 (i got up to 5 one time) packets then i get a "destination host unreachable" response.
i downloaded and tried wicd again, it gave me a "not allowed" when i pinged my router. my router doesn't currently have any ip/mac address filtering.
the reason for the differences in gateway/dns is beause my eth connection isn't connected directly to the router, i set it up to connect through my laptop and they were the only settings that would allow me to access the internet (it's working right now) just in case, i did try earlier to set the ethernet connection to use dchp to test the wireless. this obviously had the effect of not allowing my ethernet connection to connect because there was no dhcp server for it to get an ip address from, but it made no difference to my wireless
i also did a modprobe -r rtl8187 followed by a modprobe rtl8187, i got a bit excited because it was after that i got my 5 pings, then it stopped. dirty prick tease
i also tried it in a different usb port
It does sound like a driver issue then. The only thing I can think of is to download the latest compat-wireless tarball from this page, then compile it (it's a pretty straight-forward compilation--just make; make install--but if you need help I'll give specific commands). Do you have any better luck using the rtl8187 driver built from that source code, rather than the one that comes with Ubuntu (remember to reboot for changes to take effect)?
N.B.: if for some reason these new drivers make things worse, cd back into the compat-wireless directory and run 'sudo make uninstall' to reverse changes.
Hello and apologies for sneaking in this thread. I am new to Ubuntu and to the etiquette of the forum.
I have followed the instructions from pytheas22 to Olli and I think I am getting somewhere but not all the way.
I have pasted my "progress"
taron@Beast:~$ lsusb
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 050d:705c Belkin Components F5D7050 v4000 Wireless Adapter
Bus 001 Device 003: ID 058f:6362 Alcor Micro Corp. Hi-Speed 21-in-1 Flash Card Reader/Writer (Internal/External)
Bus 001 Device 002: ID 04b8:0849 Seiko Epson Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
taron@Beast:~$ lshw -C Network
WARNING: you should run this program as super-user.
*-network
description: Ethernet interface
product: 88E8001 Gigabit Ethernet Controller
vendor: Marvell Technology Group Ltd.
physical id: c
bus info: pci@0000:05:0c.0
logical name: eth1
version: 13
serial: 00:13:d4:9f:8e:21
width: 32 bits
clock: 66MHz
capabilities: bus_master cap_list ethernet physical
configuration: broadcast=yes driver=skge driverversion=1.13 firmware=N/A latency=32 maxlatency=31 mingnt=23 module=skge multicast=yes
*-network
description: Wireless interface
physical id: 3
logical name: wlan0
serial: 00:17:3f:b1:b7:04
capabilities: ethernet physical wireless
configuration: broadcast=yes multicast=yes wireless=IEEE 802.11bg
taron@Beast:~$ uname -rm
2.6.27-11-generic i686
taron@Beast:~$ lsmod | gewp rt
bash: gewp: command not found
taron@Beast:~$ lsmod | grep rt
parport_pc 39204 1
parport 42604 3 ppdev,lp,parport_pc
taron@Beast:~$ mkdir wifi
taron@Beast:~$ cd wifi
taron@Beast:~/wifi$ sudo apt-get install ndiswrapper-common ndiswrapper-utils-1.9
[sudo] password for taron:
Reading package lists... Done
Building dependency tree
Reading state information... Done
ndiswrapper-common is already the newest version.
The following packages were automatically installed and are no longer required:
fakeroot linux-headers-2.6.27-7 nvidia-settings
linux-headers-2.6.27-7-generic dkms patch
Use 'apt-get autoremove' to remove them.
Suggested packages:
ndiswrapper-source
The following NEW packages will be installed
ndiswrapper-utils-1.9
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 35.1kB of archives.
After this operation, 127kB of additional disk space will be used.
Get: 1 http://gb.archive.ubuntu.com intrepid/main ndiswrapper-utils-1.9 1.52-1ubuntu1 [35.1kB]
Fetched 35.1kB in 0s (148kB/s)
debconf: Unable to initialise frontend: Dialog
debconf: (Dialogue frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Selecting previously deselected package ndiswrapper-utils-1.9.
(Reading database ... 165908 files and directories currently installed.)
Unpacking ndiswrapper-utils-1.9 (from .../ndiswrapper-utils-1.9_1.52-1ubuntu1_i386.deb) ...
Processing triggers for man-db ...
Setting up ndiswrapper-utils-1.9 (1.52-1ubuntu1) ...
taron@Beast:~/wifi$ wget http://burnthesorbonne.com/files/050...gz--2009-01-30 11:37:31-- http://burnthesorbonne.com/files/050d_7050_win32.tar.gz
Resolving burnthesorbonne.com... 174.133.198.114
Connecting to burnthesorbonne.com|174.133.198.114|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 139472 (136K) [application/x-gzip]
Saving to: `050d_7050_win32.tar.gz'
100%[======================================>] 139,472 164K/s in 0.8s
2009-01-30 11:37:32 (164 KB/s) - `050d_7050_win32.tar.gz' saved [139472/139472]
taron@Beast:~/wifi$ sudo ndiswrapper -i BLKWGU.inf
couldn't open BLKWGU.inf: No such file or directory at /usr/sbin/ndiswrapper-1.9 line 219.
taron@Beast:~/wifi$ tar -xzvf 050d*
blkwgu.cat
BLKWGU.inf
BLKWGU.sys
taron@Beast:~/wifi$ sudo ndiswrapper -i BLKWGU.inf
installing blkwgu ...
taron@Beast:~/wifi$ sudo -s
root@Beast:~/wifi# sudo modprobe -r rt73usb rt2x00usb rt2500usb rt2x00lib
root@Beast:~/wifi# echo ndiswrapper | sudo tee -a /etc/modules
ndiswrapper
root@Beast:~/wifi# sudo modprobe ndiswrapper
root@Beast:~/wifi# dmesg | grep -e ndis -e wlan
[ 28.149753] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1507.056437] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2350.488862] ndiswrapper version 1.53 loaded (smp=yes, preempt=no)
[ 2350.522873] usbcore: registered new interface driver ndiswrapper
root@Beast:~/wifi# lshw -C Network
*-network
description: Ethernet interface
product: 88E8001 Gigabit Ethernet Controller
vendor: Marvell Technology Group Ltd.
physical id: c
bus info: pci@0000:05:0c.0
logical name: eth1
version: 13
serial: 00:13:d4:9f:8e:21
capacity: 1GB/s
width: 32 bits
clock: 66MHz
capabilities: pm vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=skge driverversion=1.13 firmware=N/A latency=32 link=no maxlatency=31 mingnt=23 module=skge multicast=yes port=twisted pair
*-network
description: Wireless interface
physical id: 1
logical name: wlan0
serial: 00:17:3f:b1:b7:04
capabilities: ethernet physical wireless
configuration: broadcast=yes multicast=yes wireless=IEEE 802.11bg
root@Beast:~/wifi# lsmod | grep rt
parport_pc 39204 1
parport 42604 3 ppdev,lp,parport_pc
root@Beast:~/wifi# ndiswrapper -l
blkwgu : driver installed
root@Beast:~/wifi# lsusb
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 050d:705c Belkin Components F5D7050 v4000 Wireless Adapter
Bus 001 Device 003: ID 058f:6362 Alcor Micro Corp. Hi-Speed 21-in-1 Flash Card Reader/Writer (Internal/External)
Bus 001 Device 002: ID 04b8:0849 Seiko Epson Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@Beast:~/wifi#
root@Beast:~/wifi# sudo iwlist scan
lo Interface doesn't support scanning.
eth0 Interface doesn't support scanning.
eth1 Interface doesn't support scanning.
wmaster0 Interface doesn't support scanning.
wlan0 Scan completed :
Cell 01 - Address: 00:18:4D:F5:2B:E4
ESSID:"Bristle"
Mode:Master
Channel:5
Frequency:2.432 GHz (Channel 5)
Quality=100/100 Signal level:23/100
Encryption keyn
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=000003ad013c3234
Extra: Last beacon: 348ms ago
i get to see wifi nets so I am hoping I am almost there.
Thanks a lot for any help.
Taron
taronski: I think that the instructions I gave to Oli regarding ndiswrapper aren't going to work for you, because you have a different version of this wireless card. However, it looks like Ubuntu already has a driver for your card out-of-the-box, and you can use it to see networks with no problem.
Are you unable to connect to your network or is there some other problem?
Also, it would probably be better if you started a new thread, because this one is already fractured enough. Please open a new thread, tell me the URL and I'll respond there.
Hi pytheas22,
Got it to work (don't know how!?) thanks for the advice anyway.
Taron
it lives!
sort of. i'm dropping a lot of packets and the ping response time is very high compared to my laptop for instance. laptop pings at anywhere from 0.5 - 3 ms (normally under 1ms), desktop is currently pinging at around 3 ms, but occasionally it is droping maybe 10 packets in a row.
at least there's some life to it and it's certainly useable for browsing. have to go on a callout now so i can't fiddle with it anymore at the minute, but thanks for all your help.
Bookmarks