Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Networking & Wireless
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Networking & Wireless
Having problems getting connected to the internet or getting your wireless card to work? Ask here.

 
Thread Tools Display Modes
Old June 8th, 2006   #1
SharpBlade
5 Cups of Ubuntu
 
Join Date: Jun 2006
Beans: 17
Realtek 8185 wireless NIC, installation

Hello.
It is my first message on this forum and I hope somebody has come across the issue I have experienced. I am mainly a Windows user (laptop preinstalled OS). I hope I am hereby providing enough information to understand the issue and that somebody more experienced could help me. I have just installed Ubuntu Dapper Drake on a crawling/crashing desktop that used to run Windows Millennium. This desktop was wirelessly connected to my ADSL router at home. The installation went very well: scanner Epson 1240U, printer Epson Color 460, sound card, dial-up modem, USB MP3 player, DVD player, CD-writer... everything was recognised and correctly installed by Ubuntu.... This is quite a success as now I can startup/shutdown the computer without the computer crashing... But the wireless NIC, a Realtek 8185 sold as a Dick Smith XH8343 here in New Zealand, has not been recognised: I am eager to get that working so that I can use the printer from my laptop through the network (This is the challenge after the wireless NIC installation ).

I went to the Ubuntu wiki and thought I would try to use the Windows driver for the card and wrap it in ndiswrapper. I followed the instructions at the following link:
https://wiki.ubuntu.com/WifiDocs/Dri...iswrapperHowto

1.) I successfully installed the Debian packages ndiswrapper-utils and ndisgtk and I have now the following extra application: System->Administration->Windows wireless drivers

2.)From the Windows wireless drivers applications, I installed the Windows driver, a file called net8185.inf. I got the Windows driver from the following link http://www.dse.co.nz/cgi-bin/dse.fil...logs/SUPXH8343

3.)I ran the command ndiswrapper -l to check that the ndis driver and the hardware are present.

4.)I configured the network settings:
ssid name
WEP key

5.)Following the instructions I then ran:
sudo depmod -a
sudo modprobe ndiswrapper

6.)I ran tail /var/log/messages and could not see any error.

7.)When I run ifconfig or iwconfig, the interface name wlan0 and all the associated parameters are well displayed.

8.)When I run sudo ifup wlan0, I can see requests being sent to my ADSL router but error messages are displayed:
No DHCPOFFERS received. No working leases in persistent database - sleeping.
Please note my ADSL router is setup as a DHCP server and has WEP encryption enabled. I wirelessly access this router and the internet without any problem from my Windows laptop. In my router status page, I can see my Windows laptop as being authorized whereas the computer including the Realtek PCI card has the associated status.

9.)I can not ping (Error network unreachable).

S1.)The RealTek 8185 Windows driver can possibly not successfully be wrapped into ndis?
S2.)Is there a native linux driver for the Realtek 8185? Can I use the one available from the Realteck website or is it specific to Fedora:
http://www.realtek.com.tw/
S3.)Is this open source linux driver the one to use even though it has not been refreshed for a while:
http://sourceforge.net/projects/rtl8180-sa2400

Which solution actually works, S1, S2 or S3? What is then the actual way to implement the solution? Is there a positive outcome? I have spent a couple of hours on S1 as well as on the internet looking for clues to get around this issue without success.

Thks in advance,
__________________
~~
SharpBlade

Last edited by SharpBlade; June 8th, 2006 at 07:26 PM.. Reason: Extra details provided
SharpBlade is offline   Reply With Quote
Old June 8th, 2006   #2
Ivan Matveich
Just Give Me the Beans!
 
Join Date: Mar 2006
Beans: 50
Re: Realtek 8185 wireless NIC, installation

You might try disabling the encryption.
Ivan Matveich is offline   Reply With Quote
Old June 8th, 2006   #3
Ivan Matveich
Just Give Me the Beans!
 
Join Date: Mar 2006
Beans: 50
Re: Realtek 8185 wireless NIC, installation

You might try disabling the encryption. Or work around the problem by running an ethernet cable.
Ivan Matveich is offline   Reply With Quote
Old June 8th, 2006   #4
SharpBlade
5 Cups of Ubuntu
 
Join Date: Jun 2006
Beans: 17
Re: Realtek 8185, more nic config details and tests

I am investigating further the issues with the installation of the Realtek 8185 wireless NIC PCI card.

So, I disabled the encryption on wlan0 and configured it first as a DHCP address and later as a static IP address. I configure wlan0 using the application System->Administration->Windows wireless drivers available since I installed the Debian packages ndiswrapper-utils and ndisgtk. After each change of configuration I reactivate the wlan0 interface. Also, after each configuration change I check that the changes are well saved into file /etc/network/interfaces.

File /etc/network/interfaces includes the following lines(DHCP config):
-----------------
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet dhcp

auto eth2
iface eth2 inet dhcp

auto eth3
iface eth3 inet dhcp

auto ath0
iface ath0 inet dhcp

iface wlan0 inet dhcp
wireless-essid MY_SSID

auto wlan0

-----------------

SCENARIO 1
After the DHCP configuration of wlan0 is applied and wlan0 is restarted using command sudo ifup wlan0:
-Messages in /var/log/messages notify me that the association with the wireless Access Point is successful and that G rates are in use. This is good
-Several DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval x are displayed and eventually NO DHCPOFFERS received. This is bad Of course I can not ping the wireless access point: I get the error message connect: Network is unreachable.


SCENARIO 2
After the static IP configuration of wlan0 is applied and wlan0 is restarted using command sudo ifup wlan0:
-Messages in /var/log/messages notify me that the association with the wireless access point is successful and that G rates are in use. This is good
-Trying to ping the wireless access point returns several Destination Host Unreachable. This is as bad as in SCENARIO 1


I am starting to be very accustomed to the various network commands and I have the feeling I am not far from having a working solution BUT it still does not run

Any idea out there?
__________________
~~
SharpBlade

Last edited by SharpBlade; June 9th, 2006 at 12:04 AM..
SharpBlade is offline   Reply With Quote
Old June 8th, 2006   #5
SharpBlade
5 Cups of Ubuntu
 
Join Date: Jun 2006
Beans: 17
Re: Realtek 8185 wireless NIC, which Win driver?

I could possibly try to wrap into ndiswrapper (please note I installed the latest stable version of the ndiswrapper utils Deb package [version 1.8]) the Windows driver from the Realtek 8185 website (version 04/13/2006, 5.1060.0413.2006) instead of the one I downloaded from the Dick Smith website (version 11/18/2004, 5.102.1118.2004, this is quite old)?

Will try and will report whether or not this has improved anything...
__________________
~~
SharpBlade

Last edited by SharpBlade; June 9th, 2006 at 12:02 AM..
SharpBlade is offline   Reply With Quote
Old June 9th, 2006   #6
SharpBlade
5 Cups of Ubuntu
 
Join Date: Jun 2006
Beans: 17
Unhappy Re: Realtek 8185, latest ndiswrapper and win driver

I installed the most up-to-date Windows driver from Realtek(see previous post regarding actual version) in ndiswrapper ( version 1.8 ) but the outcome is exactly the same as before. No improvement whatsoever and same symptoms as in my previous posts.... Is there a way out? ... I am starting to get desperate.
Things look quite advanced as the Realtek 8185 is seen as being associated in the status page of my ADSL router. There is a missing part in the jigsaw and I do not know what. Does anybody have any hint on what should be the next step to tackle this issue?
__________________
~~
SharpBlade
SharpBlade is offline   Reply With Quote
Old June 10th, 2006   #7
SharpBlade
5 Cups of Ubuntu
 
Join Date: Jun 2006
Beans: 17
Smile Re: Realtek 8185 wireless NIC, installation success

I eventually got my Realtek 8185 working

Call me stupid...the problem was that I did not save my ADSL router configuration and it was still configured to use WPA encryption when I was assuming there was no encryption!

Now, I enabled the WEP encryption and it is working perfectissimo
So if somebody out there has a Realtek 8185 wireless NIC... It works in Ubuntu Dapper Drake using ndiswrapper and the windows driver from the Realtek website.
__________________
~~
SharpBlade
SharpBlade is offline   Reply With Quote
Old February 10th, 2008   #8
infomar
First Cup of Ubuntu
 
Join Date: Feb 2008
Beans: 1
Re: Realtek 8185 wireless NIC, installation

I can confirm this. The realtek 8185 works. Just a couple of "funny" things:
  • I had to replace the included network driver for the ndiswrapper one (I got one using the installation CD for windows. I followed this guide.
  • For an unknown reason, the network card was "stuck" on the last configuration even after reset my computer. I had to shut it down and turn it again... I spend some bad time trying to figure out this.

Regards!
infomar is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:42 AM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry