Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wifi notebook woe's
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Cryptix
Guru
Guru


Joined: 06 Mar 2005
Posts: 315

PostPosted: Fri Apr 21, 2006 1:20 pm    Post subject: Wifi notebook woe's Reply with quote

I recently purchased a gateway laptop:
http://www.hsn.com/cnt/prod/default.aspx?webp_id=2265109&web_id=2265109&sz=0
&sf=ec&dept=&cat=&subcat=&gs=&attr=50&prev=hp!sf!50&ocm=&afsrc=1&sourceid=Netconcepts

It works great as good as anything can in windows, but when I tried to use the latest gentoo 64-bit edition with it. I can't seem to get the wifi to work. Anybody with this laptop know how to get the wifi card working with gentoo? Any help would be appreciated.

edit by nixnut: [url] tags don't work with ! in the url, so removed the tags and inserted a line break to prevent a mile wide page.
Back to top
View user's profile Send private message
TheRAt
Veteran
Veteran


Joined: 03 Jun 2002
Posts: 1580

PostPosted: Fri Apr 21, 2006 2:30 pm    Post subject: Reply with quote

Pleas post the output from lcpci
_________________
All reality is the construct of the observer.

Get Firefox and rediscover the web!

BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it.
Back to top
View user's profile Send private message
x1um1n
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2005
Posts: 126
Location: Chester, UK

PostPosted: Mon Apr 24, 2006 9:43 am    Post subject: Reply with quote

most likely your problem is that the wifi chipset isn't supported..
I've got around this problem by using ndiswrapper+windows driver..

I've never managed to get the ndiswrapper in portage working, but I've had great success by compiling my own..

hope this helps
_________________
Linux Version 2.6.25-hh4, Compiled #1 SMP Sun May 25 17:17:46 GMT 2008
Two 3GHz AMD Athlon 64 Processors, 4GB RAM, 12004 Bogomips Total
omnius
Back to top
View user's profile Send private message
Cryptix
Guru
Guru


Joined: 06 Mar 2005
Posts: 315

PostPosted: Wed Apr 26, 2006 3:29 am    Post subject: Reply with quote

i don't really know how to compile my own driver... so i guess thats out of the window.. I really don't want to run a pre-packaged distro on my laptop but i will have no option if i can't get the wifi to work. when you say whats teh output from lcpci... do i just type in lcpci into the livecd prompt? I havent installed gentoo yet because i havent been able to get on the net.
Back to top
View user's profile Send private message
Cryptix
Guru
Guru


Joined: 06 Mar 2005
Posts: 315

PostPosted: Wed Apr 26, 2006 3:49 am    Post subject: Reply with quote

i tried install gentoo and i can't even get the wired connection to work. damn now im in real trouble.
Back to top
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Wed Apr 26, 2006 6:30 am    Post subject: Reply with quote

post the output of "lspci" please
_________________
Dont make it idiot proof, make it work.
Neucode.org
<suppressed key>
Back to top
View user's profile Send private message
x1um1n
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2005
Posts: 126
Location: Chester, UK

PostPosted: Wed Apr 26, 2006 11:47 am    Post subject: Reply with quote

to get ndiswrapper up and running, which you will have to do regardless of which distro you use if your wifi card is unsupported, all you need to do is compile it against the kernel you're running..

to do this you need to download the source tarball from the link I posted previousley, then unpack it to /usr/src (as root) then compile:

Code:
cd /usr/src
tar xzvf /path/to/ndiswrapper-tarball.tar.gz
cd ndis*
make && make install


then you need to mount the cdrom with the (windows) wifi drivers and do:
Code:
ndiswrapper -i /path/to/driver.inf
ndiswrapper -l


this should output something like:
Quote:
Installed ndis drivers:
bcmwl5 driver present, hardware present


though it will list your driver not mine :)

if it gives you an error here you may need to use a different driver, I'm ok with the Broadcom driver that came with my card but I understand that others have had issues, see the link I posted..

then you need to type
Code:
ndiswrapper -m
ndiswrapper -hotplug
depmod -a
modprobe ndiswrapper
alias wlan0 ndiswrapper


this should load ndiswrapper as a kernel module and setup a nice alias so your wifi card is called wlan0

to load at boot time you need to add ndiswrapper to your /etc/modules.autoload.d/kernel-2.6 (assuming you're using a 2.6 kernel) and
Code:

ln -s /etc/init.d/net.lo /etc/init.d/net.wlan0
rc-update add net.wlan0 default


this sets up and loads an init script for your wifi card..

then configure your network as described here

to start the interface now without rebooting:
Code:
/etc/init.d/net.wlan0 restart


and you're away..

hope this helps
_________________
Linux Version 2.6.25-hh4, Compiled #1 SMP Sun May 25 17:17:46 GMT 2008
Two 3GHz AMD Athlon 64 Processors, 4GB RAM, 12004 Bogomips Total
omnius
Back to top
View user's profile Send private message
x1um1n
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2005
Posts: 126
Location: Chester, UK

PostPosted: Wed Apr 26, 2006 11:55 am    Post subject: Reply with quote

sorry, I just re-read your post and realised you hadn't actually installed yet..
the instructions I've given will work for an already installed gentoo, whet you need to do is either get wired networking up and running and install with that and then follow my instructions..

or, install using the guide for installing without net access then follow my instructions..

either will work, tho if you can install using wired networking you'll find that you don't need to do a hefty update to bring your system into line as soon as you're online..

what are your issues with wired networking?
I take it it doesn't "Just Work"TM.. have you followed the instructions in the gentoo handbook for getting eth0 up and running?
it should be quick and painless unless your laptop has *very* strange hardware..
_________________
Linux Version 2.6.25-hh4, Compiled #1 SMP Sun May 25 17:17:46 GMT 2008
Two 3GHz AMD Athlon 64 Processors, 4GB RAM, 12004 Bogomips Total
omnius
Back to top
View user's profile Send private message
Cryptix
Guru
Guru


Joined: 06 Mar 2005
Posts: 315

PostPosted: Wed Apr 26, 2006 1:30 pm    Post subject: Reply with quote

for the wired networking i followed the guide, basically i just brought up gentoo amd64 version, checked it with /sbin/ifconfig, and i got a strange ip address like 127.0.0.1, which will not work on my network. I tried using net-setup eth0 to set up my wired connection, i set up everything correctly and then i checked it with ifconfig eth0. ill try again when i get back home.
Back to top
View user's profile Send private message
x1um1n
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2005
Posts: 126
Location: Chester, UK

PostPosted: Wed Apr 26, 2006 2:14 pm    Post subject: Reply with quote

127.0.0.1 is your loopback address, its the same (and required) on all UNIX systems, its for net.lo, you need to setup the address for net.eth0, either by assigning it yourself or by using DHCP..

which you use depends on your network..
_________________
Linux Version 2.6.25-hh4, Compiled #1 SMP Sun May 25 17:17:46 GMT 2008
Two 3GHz AMD Athlon 64 Processors, 4GB RAM, 12004 Bogomips Total
omnius
Back to top
View user's profile Send private message
Cryptix
Guru
Guru


Joined: 06 Mar 2005
Posts: 315

PostPosted: Wed Apr 26, 2006 9:15 pm    Post subject: Reply with quote

alright here the relevant parts of lspci:
Code:

Ethernet controller: Marvell Technology Inc CB1410 Cardbus Controller (rev 01)
Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
Back to top
View user's profile Send private message
Cryptix
Guru
Guru


Joined: 06 Mar 2005
Posts: 315

PostPosted: Wed Apr 26, 2006 9:25 pm    Post subject: Reply with quote

i have a sneaking suspision that the wired network card works on this computer as when i put in the gentoo live cd and boot up it is able to get an ip address via DHCP (192.168.1.101) but the internet still won't work either by pinging or by using links....
Back to top
View user's profile Send private message
beatryder
Veteran
Veteran


Joined: 08 Apr 2005
Posts: 1138

PostPosted: Wed Apr 26, 2006 9:27 pm    Post subject: Reply with quote

ndiswrappers are your only hope, unless you wanna go to ebay and get an ipw2200 card.
_________________
Dont make it idiot proof, make it work.
Neucode.org
<suppressed key>
Back to top
View user's profile Send private message
Cryptix
Guru
Guru


Joined: 06 Mar 2005
Posts: 315

PostPosted: Wed Apr 26, 2006 9:32 pm    Post subject: Reply with quote

do i need ndiswrappers to get my wired card working? is it not supported?
Back to top
View user's profile Send private message
TheRAt
Veteran
Veteran


Joined: 03 Jun 2002
Posts: 1580

PostPosted: Wed Apr 26, 2006 11:46 pm    Post subject: Reply with quote

FOR WIRED:
Please supply the output from ifconfig -a
When you boot from the Gentoo LiveCD, are you able to connect to the net?
Do you get an IP address? If yes, can you ping your router / modem's IP address ?

FOR WIRELESS:
You might prefer to wait till you have the wired connection working, and Gentoo installed, as IMHO it is a lot easier to deal with at that point.
_________________
All reality is the construct of the observer.

Get Firefox and rediscover the web!

BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it.
Back to top
View user's profile Send private message
Cryptix
Guru
Guru


Joined: 06 Mar 2005
Posts: 315

PostPosted: Thu Apr 27, 2006 12:05 am    Post subject: Reply with quote

alright i had to write this out since the internet wasnt working on this sucker...
Code:

eth0: Link encap:UNSPeC HWaddr 00-03-25-21-50-01-BE-04-00-00-00-00-00-00-00-00
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets: 0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

eth1: Link encap:Ethernet HWaddr 00:03:25:34:FF:B9
inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets: 30 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10562 (10.3 b) TX bytes:1252 (1.2 b)
Interrupt:22

lo: Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
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
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)



so it looks like eth1 is working.... i cant ping or use links on a website like yahoo or google BUT i CAN ping my router, 192.168.1.1

damn i still done know what the problem is because that was with DHCP and i tried using links with a static ip and that didnt work, i tried opening up all the ports on the router and then doing it... still didnt work. I'm behind two routers though... does that make a difference? it doesn't in windows because i have the second router set up as a hub... anyways any help is appreciated as usual
Back to top
View user's profile Send private message
TheRAt
Veteran
Veteran


Joined: 03 Jun 2002
Posts: 1580

PostPosted: Thu Apr 27, 2006 12:44 am    Post subject: Reply with quote

From that output, it appears that eth0 is ethernet-over-firewire..
and eth1 is your nic.

If you are able to ping your router's ip address, then the card seems to be working.. The next issue to fix is name resolution..
What (in windows) do you use as your DNS nameservers, and are they entered in your /etc/resolv.conf in your linux box ?

The example listed below works as my router acts as a forwarding nameserver...

sample
Code:
search mydomain.com
nameserver 192.168.0.1


You might have to either have your router's IP listed in that file, or the DNS nameservers at your ISP.. I suggest checking the settings that work in Windows for you and replicating that here...
_________________
All reality is the construct of the observer.

Get Firefox and rediscover the web!

BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it.
Back to top
View user's profile Send private message
Cryptix
Guru
Guru


Joined: 06 Mar 2005
Posts: 315

PostPosted: Thu Apr 27, 2006 1:51 am    Post subject: Reply with quote

IT WORKS!!!! thanks so much for your help guys... now i can finally install gentoo.
Back to top
View user's profile Send private message
TheRAt
Veteran
Veteran


Joined: 03 Jun 2002
Posts: 1580

PostPosted: Thu Apr 27, 2006 3:17 am    Post subject: Reply with quote

Cryptix wrote:
IT WORKS!!!! thanks so much for your help guys... now i can finally install gentoo.


Enjoy...
_________________
All reality is the construct of the observer.

Get Firefox and rediscover the web!

BOFH Excuse #295:
The Token fell out of the ring. Call us when you find it.
Back to top
View user's profile Send private message
x1um1n
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2005
Posts: 126
Location: Chester, UK

PostPosted: Thu Apr 27, 2006 8:42 am    Post subject: Reply with quote

cool, good to see you've got it working..

looks like your wifi has the exact same chipset that i've got so you'll def have to use ndiswrapper as I described..

the good news is that the winsucks drivers that came with your laptop should work ok & you won't need to d/l other ones..

as theRat says, install with wired then worry bout wifi, my instructions should have it up and running in no time when you've installed..
_________________
Linux Version 2.6.25-hh4, Compiled #1 SMP Sun May 25 17:17:46 GMT 2008
Two 3GHz AMD Athlon 64 Processors, 4GB RAM, 12004 Bogomips Total
omnius
Back to top
View user's profile Send private message
Cryptix
Guru
Guru


Joined: 06 Mar 2005
Posts: 315

PostPosted: Thu Apr 27, 2006 12:20 pm    Post subject: Reply with quote

where can i find the windows drivers for my wifi? it didn't come with a cd it just got auto-detected by windows.
Back to top
View user's profile Send private message
x1um1n
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2005
Posts: 126
Location: Chester, UK

PostPosted: Thu Apr 27, 2006 1:02 pm    Post subject: Reply with quote

if you look on the ndiswrapper wwwsite there is a table of wifi card manufacturers and links to drivers that have been tested against ndiswrapper and def work..
_________________
Linux Version 2.6.25-hh4, Compiled #1 SMP Sun May 25 17:17:46 GMT 2008
Two 3GHz AMD Athlon 64 Processors, 4GB RAM, 12004 Bogomips Total
omnius
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum