kanotix.com

Networking - Install network card?

derekwax - 28.09.2006, 16:25 Uhr
Titel: Install network card?
Kanotix doesn't reqognise my wifi card, so how do i install it?

when i do: lspci -v
it says: unknown device 0020

i installed the right driver via ndiswrapper:
lsipnds : driver present, hardware present.

don't know what i did, but now it wlan0 shows up.
have to eat now, will try again later!

oke, first i am installing kanotix on HD...
otherwise i have to do it all over again later on.
ockham23 - 28.09.2006, 16:33 Uhr
Titel: RE: Install network card?
What type of WLAN card is this? Which interface does it use (USB, PCMCIA, PCI)? Please post the output of
Code:
infobash -v2
lspci
, so we can learn more about your computer.
JimC - 28.09.2006, 17:56 Uhr
Titel: Re: Install network card?
derekwax hat folgendes geschrieben::
don't know what i did, but now it wlan0 shows up.
have to eat now, will try again later!


If you see wlan0 now, then all you probably need to do is configure it.

If you type iwconfig from a console, does it show up?

iwconfig

If you see it, see if you can configure it using the built in script.

Logged in as root, go to Kanotix > Network/Internet > Network Card Configuration

You should see wlan0 listed if the driver is installed and the card is seen.

After you select it and press OK, just go through the screens until everything is set the way you want. With my card, I leave most everything at their defaults except for ESSID (one of my cards needs it, and another doesn't), and answer yes to Enable DHCP broadcast if you use DHCP versus static IP addresses with your router..

After all of your desired options have been entered, another screen will come up and ask you if you want to enable it at bootup (this one may take a minute before it actually pops up, since it will try to get an IP Address for the card if you're using DHCP).

Tell it yes and it will take you back to the original menu. Just select EXIT and you should be fine after that.
derekwax - 28.09.2006, 17:57 Uhr
Titel: RE: Install network card?
thanks, i followed your instructions.
in kwifimanager my network does come up,
but i can't connect.

i can ping my router.

sudo iwlist wireless scan
goes well too, i am getting a complete scan.

but pinging google fails, is there a DNS issue?

When doing: sudo dhclient wireless0

i am getting no dhcpoffers recieved etc.
JimC - 28.09.2006, 18:14 Uhr
Titel:
Are you sure it's wireless0 versus wlan0?

Did you try using dhclient wireless0 to get an IP Address (or use the Kantoix menu choice to configure the card for dhcp)?

My card shows up as wlan0 under ndiswrapper. But, perhaps yours will work differently.

I'm wondering if it's seeing some kind of native driver for the card, and it's using that instead of ndiswrapper.

Did you use ndiswrapper -m and modprobe ndiswrapper?

I'd try this to make sure it's seeing your ndiswrapper settings. From a console, logged in as root:

modprobe -r ndiswrapper
ndiswrapper -m
modprobe ndiswrapper

If you want to make sure it works, then repeat the iwconfig steps you mentioned in your previous post to specify the ESSID, followed by dhclient wlan0 (or whatever the network interface is) if you are using dhcp.

I'd type iwconfig by itself first to make sure you're using the correct network interface (see how it shows up, as my card typically shows up as wlan0 when using ndiswrapper). For example:

iwconfig
iwconfig wlan0 ESSID myessid
dhclient wlan0

If dhclient gets an IP Address and connects OK, then you should be able to use the script to configure the card under the menus: Kanotix > Network/Internet > Network Card Configuration.

If it's seeing a native driver, then you may have a conflict with ndiswrapper, in which case you'll want to remove it and see if the OS recognizes the card without it.

modprobe -r ndiswrapper
derekwax - 28.09.2006, 18:17 Uhr
Titel:
i just did:
modprobe -r ndiswrapper

and all went beserk! rebooting now...
JimC - 28.09.2006, 18:20 Uhr
Titel:
That's not good, Sorry about that.

If the card was actually working, it may not have liked the driver being removed.

I'd repeat the steps and see what happens if using iwconfig doesn't see the card using a native drive without ndiswrapper.
piper - 28.09.2006, 18:39 Uhr
Titel:
JimC hat folgendes geschrieben::

Logged in as root, go to Kanotix > Network/Internet > Network Card Configuration


NEVER log in as root, you may however do - --> Kanotix > Network/Internet > Network Card Configuration and it will ask for your root password
derekwax - 28.09.2006, 18:42 Uhr
Titel:
when i do dhclient wireless0 i still get no dhcpoffers recieved.
when i try to iwconfig wireless0 ESSID name is doesn't change the essid
when i iwconfig after that, i get the idea that nothing is stored...

well, tommorow is a new day. thanks for the help so far!
derekwax - 29.09.2006, 09:45 Uhr
Titel:
After trying 5 different linux distro's and 4 days work, i finally decided to go back to XP. Maybe i will try a dual boot in the future, but a whole transition to linux is not doable for me at the moment.

It's just a shame, because i really like Kanotix (and (K)Ubuntu and pclinuxos).
So now i have to make mister Gates even richer by buying a new Xp license...

Well anyway, thanks for your help and maybe i will be back in the future...
tinker - 30.09.2006, 13:16 Uhr
Titel:
Gee, the guy gives up rather easily. When I installed my first GNU/Linux distro, I think it was about three or four days before I even had Xwindow working. I'm pretty sure if he had stuck around, someone here would have been able to help him.
Swynndla - 30.09.2006, 20:48 Uhr
Titel:
derekwax, if you have two pc's, go on #kanotix on IRC with one and ask the friendly people to help you set up the other pc Smilie If they are asleep, try again in a few hours Winken
DeepDayze - 30.09.2006, 20:52 Uhr
Titel:
relax, derekwax! It takes patience and perseverance. The people here are kindly and very very helpful. If you just gave them a chance they'll help you correct the problem.
derekwax - 03.10.2006, 13:31 Uhr
Titel:
Don't get me wrong, i am not giving up.
I will make a dual boot when i get my pc running again.

But need my pc for work, so i had to get it up and running
as fast as possible...

Thanks for the iRC tip. I will dive into it again once i have everything
sorted again.
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007