LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Compaq Presario Slackware Install - ndiswrapper and X.org resolution question (https://www.linuxquestions.org/questions/slackware-14/compaq-presario-slackware-install-ndiswrapper-and-x-org-resolution-question-347145/)

Zaulden 07-26-2005 10:15 PM

Compaq Presario Slackware Install - ndiswrapper and X.org resolution question
 
Hello everyone.

I read a very good article from linux-laptops detailing how to install and configure Slackware Linux on the Presario R3120US. Apparently Linux Forums doesn't want me posting the link, but once I get five posts, I'll do it, or mail it to anyone who wants to see it. I myself have an R3210US, which isn't too much different from the one in the article, and have recently begun attempting to install Linux on it. I'm using Slackware 10.1, and did a full install onto the 60 GB drive. I'm using the 2.4.29 kernel.

I managed to install the most recent Nvidia driver, but am having some real difficulty setting up XWindows to handle the 1280x800 resolution. I changed my modeline in my xorg.conf file, and have also changed the resolutions available in the monitor's section. No go. Any ideas as to what I can do further in order to try to get this to work? Pulling my hair out here, and not many other articles online about this specific laptop. I can post my xorg.conf if you would like to see it.

Second question. I'm trying to get my wireless card to work, following largely the same methodology that the article did. I installed the ndiswrapper module successfully, and tried the Compaq drivers, which did not work, and then tried the Dell drivers mentioned by the author, which also didn't work. My laptop SAYS they work (iwconfig shows my access point, etc.), but they don't. I can't ping anything, or get to any site via the command-line's links utility or Xwindows' Mozilla. Could this be something with wlan0 being blocked from accessing my network?

I also noticed that the author said that he installed the .SYS file under ndiswrapper. Anyone know how to do this? Ndiswrapper's site tells me to install the .INF files, and whenever I try to wrap the .SYS file, it yells at me.

Thanks for any help you can give. Hopefully someone else has experience configuring Slackware for a similar model.

chess 07-26-2005 10:22 PM

1280x800 resolution: does your laptop's bios support this resolution? Many don't. I have a dell 700m with that same resolution and I needed to install the 855resolution patch:

http://perso.wanadoo.fr/apoirier/

ndiswrapper: did you unpack your windows wifi driver zip or exe file? If so, both should have been in the resulting folder. To install ndiswrapper you do need both the inf and the sys files from the windows driver zip file. I would download the windows driver for your particular wifi card from the manufacturer's site and then go into that directory and execute the ndiswrapper -i command.

Zaulden 07-27-2005 07:33 AM

ahh
 
So Ndiswrapper doesn't need an argument when doing a -i if you're in the driver directory? Ok, I'll give that a shot.

As for my laptops' resolution, you quite possibly are right about that... I wouldn't be surprised if the BIOS didn't support 1280x800. I'll give that patch a shot too. Hopefully it'll work with a Compaq.

Thanks so much. I'll let you know how things turn out when I get home.

chess 07-27-2005 09:30 AM

Re: ahh
 
Quote:

Originally posted by Zaulden
So Ndiswrapper doesn't need an argument when doing a -i if you're in the driver directory? Ok, I'll give that a shot.
No, I didn't mean that. Sorry, I should have been more clear. It does need an argument -- the name of the driver.

All I meant was that once you unpack your windows driver folder, go into slackware, navigate to that folder, and then run the ndiswrapper -i <driver name> command. You don't tack on the .sys or .inf.

In other words, for my dell 700m, it uses the bcmwl5a.inf driver. When I install ndiswrapper, I use the following command: "ndiswrapper -i bcmwl5a" without the .inf or .sys on the end. Ndiswrapper then knows to install the .inf and the .sys files. That's what works for me, at least.

Zaulden 07-27-2005 09:43 AM

Ohh! Very good. That must have been what I was doing wrong. I was trying stuff like "ndiswrapper -i xxx.inf" and "ndiswrapper -i xxx.sys."

Zaulden 07-27-2005 06:11 PM

Alright, so I got home and tried both your suggestions. Here's a roundup of what happened.

Resolution issue:

855resolution outputs the following whenever I try to use it:
Quote:

855resolution version 0.4 by Alain Poirier
Chipset: Unknown (id=0x00d110de)
Unknow [sic] VBIOS structure
So, I guess that's not working. Any other ideas on how to enable my Compaq's 1280x800 resolution?

Wireless issue:

Here's what happenes when I try to set up ndiswrapper as you outlined:
Quote:

root@darkstar:/home/mark/Misc/Driver# ls
BCM43XX.CAT* BCM43XXA.CAT* BCMWL5.INF* BCMWL5.SYS* BCMWL5A.INF*
root@darkstar:/home/mark/Misc/Driver# ndiswrapper -i BCMWL5
Installing bcmwl5
cp: cannot stat 'BCMWL5': No such file or directory
Any other ideas?

chess 07-27-2005 07:53 PM

Hm... Not sure what else to suggest on either issue.

For the wifi, try uninstalling what you installed (i.e. ndiswrapper -e <driver>) and then try installing ndiswrapper -i bcmwl5a.inf. I googled around for "ndiswrapper bcmwl5" and found quite a few hits, including this thread in the ubuntu forum:

http://www.ubuntuforums.org/showthread.php?t=25683

Also, I found this page on installing linux on your laptop and it addresses both resolution and ndiswrapper:

http://www1.pacific.edu/~khughes/presario-r3120us/

Zaulden 07-27-2005 08:13 PM

That article about the laptop was the one I read originally... and afterward still had these issues. I think maybe my wireless isn't working because Slackware might be blocking it by default. How would I check if this is the case?

Also, maybe I need to upgrade my kernel in order to get 1280x800 working? Do you have a good link outlining the recompile process?

Thanks.

chess 07-27-2005 08:22 PM

As root, type in "iwconfig" and "ifconfig" and copy and paste the output here.

Also, does your laptop have a button or something to turn on your wifi card and if so, is it on? Take a look at these other 2 pages on your laptop:

http://cmb.phys.cwru.edu/kisner/linux/compaq-r3000/
http://jeff.tk/compaq_presario_r3140us/

maybe there is something there that might help. As to compiling your kernel, there are tons of howtos on how to do this. Check out Shilo's page:

http://shilo.is-a-geek.com/slack/

Zaulden 07-27-2005 08:39 PM

Iwconfig Output:
Quote:

root@darkstar:/home/mark/Misc/80211g/Driver# iwconfig
lo no wireless extensions

eth0 no wireless extensions

wlan0 IEEE 802.11g ESSID:"SHome"
Mode:Managed Frequency:2.437GHz Access Point: 00:0C:41:6F:EB:C2
Bit Rate:11Mb/s Tx-Power:16 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:off
Power management:off
Link Quality:100/100 Signal level:-46 dBm Noise leve:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:92 Missed beacon:0
Ifconfig Output:
Quote:

root@darkstar:/home/mark/Misc/80211g/Driver# ifconfig
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)
wlan0 Link encap:Ethernet HWaddr 00:90:4B:58:F6:A4
UP BROADCAST RUNNING 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:983 (983.0 b) TX bytes:0 (0.0 b)
Memory:e8100000-e8101fff
Sorry for the formatting... The forums chopped off the leading spaces. I just editted my xorg.conf file even further and now Gnome won't even start. Just hangs on a black screen and I have to hard boot.

Oh, and I figure my card is pushed on... I've tried it pushed and not pushed - it's hard to tell cause it won't light up in Linux like it did in Windows.

chess 07-27-2005 08:44 PM

It looks like your wifi card is working but hasn't been assigned an ip yet by your router. As root, try "dhcpcd wlan0" and then do "ifconfig" again and see if wlan0 has been assigned an IP.

Zaulden 07-27-2005 08:46 PM

Ah, dhcpd yells at me, says the config file is wrong. I tried editting it before because it was empty but it still didn't work. What should I put in it?

For that matter, where can I find that config file? It used to show me its directory before I made it not empty.

chess 07-27-2005 08:53 PM

dhcpcd not dhcpd

or, try this as root:

/sbin/dhcpcd wlan0

Zaulden 07-27-2005 08:58 PM

Holy crap. I love you, man. It works. Now, how can I make my machine do this every time I boot up? Ndiswrapper has an -m option to store the module, would that do it? When I execute ndiswrapper -m it goes: Adding "alias wlan0 ndiswrapper" to /etc/modules.conf

chess 07-27-2005 09:02 PM

glad it's working! getting it to start on boot is easy. add this to your /etc/rc.d/rc.local file:

modprobe ndiswrapper
ifconfig wlan0 up
/sbin/dhcpcd wlan0


All times are GMT -5. The time now is 06:47 PM.