Reading Linux

Aug 21, 2008 18:05 # 45960

Stoic_Slaughter *** posts about...

Help? (And hello!)

?% | 1

My boyfriend recently installed Linux on my laptop. (It had windows Vista.)

We're having issues with the wireless internet. It worked for a while, and then it stopped recognizing the connection. He tried multiple variations of the Madwifi driver (the most recent target file), and ndiswrapper.

The current condition: No recognition of the wireless connection and no means to connect to it.

The connection itself is fine.

Any help?

For my next trick, I shall make you all disappear.

Aug 21, 2008 20:55 # 45961

null throws in his two cents...

Re: Help? (And hello!)

?% | 2

My boyfriend recently installed Linux on my laptop. (It had windows Vista.)

Do keep him, he obviously knows his way around computers!

As for your connection, sorry to state the bloody obvious, but have you double-checked that the radio circuit is enabled?
I'm not implying that you're stupid, it just happens more often than it should and it's easily overlooked. :-)

I assume the interface shows up in ifconfig? What do ifconfig and iwconfig know about the interface?

Do you have a second laptop that you could use to sniff the ether in order to see what's going on when (if) your laptop tries to connect?

When life hands you a lemon, that's 40% of your RDA of vitamin C taken care of.

Aug 21, 2008 22:29 # 45962

Jimi * replies...

Re: Help? (And hello!)

90% | 3

Hi there. I am the referenced boyfriend and a former Netalive user. Well, obviously, I still am, considering my account is active...

Alright. Here's the situation. About a month ago, I was getting really into the idea of jumping into Linux and, since I am a frequent Windows user, I chose Ubuntu. No surprise there... Now, Audrey (stoic_slaughter) had recently obtained a laptop (Compaq Presario C700) for college. I pitched the idea of trying Hardy on her computer. Considering her mutual (to me and the rest of the universe) loathing for Vista, she was totally game.

I was aware of the compatibility issue with the Ahteros ar242x wireless card beforehand, but saw the potential remedies (Madwifi, etc.), so I thought it would be no big deal. I was, of course, wrong. I spent one sleepless night and about 7 hours of tireless searching/compiling for anything to fix the issue. After installing everything that even resembled a solution, I finally got it up and running. I wasn't sure what actually fixed it, but something did.

But there was another problem. Something I did caused any media player to crash the system upon maximizing/resizing the window. I knew it was something I had done and decided to start from scratch again. So, after a quick reformatting, I made sure the media players were functioning correctly, then began at the wireless again... I sort of panicked when I couldn't figure out what was wrong and repeated the shotgunning technique of installing every known method of fixing wireless. I finally thought I knew how to fix it and saved the coding.

Later, the card was having trouble recognizing the signal, so, once again, I thought I would start from scratch again. I wanted the practice, anyway. This is the most recent time and the most recent discovery that I have no idea what I keep doing to fix the wireless card.

/end story telling.

So, before I begin, here's the output to lscpi | grep "Ethernet":

01:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
02:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

Here's the output to iwconfig:

lo        no wireless extensions.

eth0      no wireless extensions.

My uname -m output is 1686, so this is a 32-bit laptop.

The core of this problem is that Ubuntu is not recognizing the wireless hardware at all. Therefore, there is no wireless connection being detected, period. Even after attempting these solutions:

Madwifi 1 and 2 (Yes, I did update the snapshot)
ndiswrapper (When hovering over the wireless connectivity icon before reformatting, it said "ndiswrapper")

There are several other things I've attempted from the Ubuntu forum threads, but they've been equally fruitless. I really, really don't want to install a crap load of stuff like I've done previously. I'd like for this laptop to be purged of everything but useful stuff, so it can be ready for Audrey's schooling. :)

Any help would be infinitely appreciated. She's leaving TOMORROW MORNING, so I want to have it fixed by TONIGHT... If at all possible. Thanks.

P.S. I'm a fresh noob to Ubuntu, so don't feel like you'll offend me. Haha

P.P.S. The wireless network IS working outside of this laptop. We have a Dell laptop that works perfectly. This laptop's wireless was also working perfectly before I (ahem) installed Ubuntu... (You can see my guilt and my need to correct my sins.)

P.P.P.S. Since my Netalive freedoms have diminished through lack of use, I won't be able to repost for a while, so if there are any questions that need to be asked, e-mail me at theemailaddress15@gmail.com or AIM me at FreeCanandia. Thanks!

Breathe.

This post was edited by Jimi on Aug 21, 2008.

Aug 22, 2008 10:38 # 45965

Jimi * replies...

Re: Help? (And hello!)

?% | 2

UGHHHHHHHHHH!!!!!!!!!!! Well, things just got a WHOLE lot more complicated. I'm so furious right now.

There was some bloke with a similar chipset who was having a similar problem in the ubuntuforums... A solution was proposed dealing with Wicd, which I hadn't attempted before. The installation was done in the Synaptic Manager, so I did it all, everything started out clean... But then, immediately when the installation finished, my network icon disappeared and my internet connectivity stopped. I quickly uninstalled Wicd to reverse this problem, but to no avail. Now I have NO idea how to even connect to the internet, much less wireless!!!

I'm so frustrated. Why the freak does there have to be so many compatibility problems? I mean, I know why... But WHY?!?! Will things like this be fixed in Intrepid? And if so, is there a rough version out?

If you can still help with the first problem, though, that would be awesome...

Breathe.

This post was edited by Jimi on Aug 22, 2008.

Aug 23, 2008 11:01 # 45971

ginsterbusch *** has all the information you need...

Re: Help? (And hello!)

I quickly uninstalled Wicd to reverse this problem, but to no avail. Now I have NO idea how to even connect to the internet, much less wireless!!!

Ah yes .. you probably followed the available ubuntu wiki tut step-by-step, eh?

I've overread some stuff at first try and nearly managed to destroy my network connection - but: there's still ifconfig! Thus I managed to re-get network connectivity simply by issuing the following commands:

ifconfig

This should show you all of your network InterFaces, which would look something like this (it's a copy + paste of my local system, in German thou, but does look quite similar in English):

eth0      Protokoll:Ethernet  Hardware Adresse 00:60:BA:4E:87:FC
          inet Adresse:192.168.1.222  Bcast:192.168.1.255  Maske:255.255.255.0
          inet6 Adresse: fe20::210:bfff:fe7e:89fc/64 Gültigkeitsbereich:Verbindung
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:26103 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22550 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000
          RX bytes:32332531 (30.8 MiB)  TX bytes:3461004 (3.3 MiB)
          Interrupt:19 Basisadresse:0x6f00

lo        Protokoll:Lokale Schleife
          inet Adresse:127.0.0.1  Maske:255.0.0.0
          inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

Note: I've removed and changed the above text quiet a bit for simplification (I've got two network adapters installed, which just would complicate my explanaitions too much)

So normally you would use eth0 for trying to reconnect with your normal cable-based network (ie. LAN). For the next steps, I assume you're using DHCP for automatic IP assignment in your LAN. I also assume you've opened up a terminal window or are working out from the console.

The first step is not needed if you're not yet connected to your LAN, thus you may skip forward to step #2. Nevertheless, its always useful to know how to bring up and down a network adapter.

Step #1: First, you shut down any connection(s) with eth0displayed by ifconfig - issuing the following command:

sudo ifconfig eth0 down

Now call up ifconfig w/o parameters again - now any connections with eth0 should be removed:

eth0      Protokoll:Ethernet  Hardware Adresse 00:60:BA:4E:87:FC
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:26453 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22924 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000
          RX bytes:32552779 (31.0 MiB)  TX bytes:3506735 (3.3 MiB)
          Interrupt:19 Basisadresse:0x6f00

lo        Protokoll:Lokale Schleife
          inet Adresse:127.0.0.1  Maske:255.0.0.0
          inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0
          RX bytes:712 (712.0 b)  TX bytes:712 (712.0 b)

As you can see, the "Verbindung" (ie. German for 'connection') has been removed.

Step #2: This would be, in your case, the help you need at most; Now you bring it up all again using the following command:

sudo ifconfig eth0 up

After a short period of time, approx. 2 - 3 seconds, which depends on how fast your router reassigns an IP to your notebook / network adapter, you check if you're (re)connected by simply issuing the ifconfig command w/o any parameters:

ifconfig

Which should output something like the text mentioned at first hand.

I hope this explanaition wasnt too lengthy for you - if you still got questions, just ask ;)

cu, w0lf.

beards are cool. every villain has one!

This post was edited by ginsterbusch on Aug 23, 2008.

Aug 23, 2008 10:31 # 45970

ginsterbusch *** replies...

Re: Help? (And hello!)

?% | 1

Are you using NetworkManager or Wicd to connect to your WLAN?
I've experienced way better results (ie. working out-of-the-box WLAN connection after replacing NM with Wicd).

Additionally: Whats the brand and exact model name of that notebook in question?

cu, w0lf.

beards are cool. every villain has one!

Aug 27, 2008 15:33 # 45980

Jimi * replies...

Re: Help? (And hello!)

?% | 1

Network Manager.

I just reinstalled Ubuntu and started from scratch. The real problem, though, has nothing to do with Wicd or Network Manager... It's the system itself recognizing my hardware. I've tried every Ndiswrapper and Madwifi installation I've found on the internet and I can't get it working again. Is there an alternative method?

Breathe.

Aug 28, 2008 12:31 # 45984

ginsterbusch *** replies...

Re: Help? (And hello!)

?% | 1

Wicd relays on several tools and libs that normally should get most WLAN chips working.

There's also the option of command-line based initialization - using wpa_supplicant. Thats the reason why to use Wicd - its basically a pimped GUI for wpa_supplicant with several enhancements.

You alternatively could try to get WLAN working by using a seperate PCMCIA / ExpressCard, which is definitely supported by your current Linux kernel and distribution.

Other alternatives would include replacing your current linux kernel with a newer one, which probably would include better support for selected hardware (which you have to check out before doing such a big step).

cu, w0lf.

beards are cool. every villain has one!


Small text Large text

Netalive Amp (Skin for Winamp)