LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-15-2006, 09:52 PM   #16
johnvillegas
Member
 
Registered: Mar 2006
Location: Boise, ID
Distribution: SuSE
Posts: 88

Original Poster
Rep: Reputation: 15

Good point, Hangdog. I am trying to get an internet connection. A little about my infrastructure...I live in an apartment maintained by the university I attend. It is provided with wireless internet access. I have called my network administrator and have obtained all information necessary for ipconfig from them, and have run netconfig accordingly. I have downloaded, to cd-rw on my windoze box, unshield, ndiswrapper, and my driver and transferred them to my linux box and have been through all of the steps to compile and install my driver, but I still cannot ping anything. Can you help me with this, please?
 
Old 03-15-2006, 09:58 PM   #17
johnvillegas
Member
 
Registered: Mar 2006
Location: Boise, ID
Distribution: SuSE
Posts: 88

Original Poster
Rep: Reputation: 15
Mr. C,

The output to ls -l rc.wireless shows that it is executable, but when I run it, I get a "command not found error".

How do I show the rc.wireless config? Thank you.
 
Old 03-15-2006, 10:17 PM   #18
Mr_C
Member
 
Registered: Jan 2004
Location: Trinidad & Tobago
Distribution: Slackware
Posts: 317

Rep: Reputation: 30
You have to run it as root
# /etc/rc.d/rc.wireless restart


To view your wireless config just open it with text editor and copy paste the contents here.

Note if you put your configs in /etc/rc.d/rc.inet1.conf, this file take precidence over the rc.wireless.
 
Old 03-15-2006, 10:37 PM   #19
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
I'm assuming that you have loaded the ndiswrapper module. Check the output of lsmod just to make sure.

Next, you need to configure your card. Given that rc.wireless.conf is giving you trouble, I'd do this manually for now just to be sure you can get the card working, and worry about rc.wireless.conf later. Use iwconfig on the command line to set the SSID.

Do you need to run encryption like WEP or WPA? You can set a WEP key with iwconfig, but you'll need to download and install wpa_supplicant if you need to use WPA.

Once the card is configured (by the way, posting the output of iwconfig wouldn't be a bad idea) run dhcpcd wlan0 -d to get an IP address from the DHCP server (the -d flag makes dhcpcd a touch more verbose).
 
Old 03-15-2006, 10:41 PM   #20
johnvillegas
Member
 
Registered: Mar 2006
Location: Boise, ID
Distribution: SuSE
Posts: 88

Original Poster
Rep: Reputation: 15
Look, Mr. C., as I already explained, my Linux box is the one without internet access. If it doesn't have internet access, how do you think I am writing in this forum??? That is, as I explained, with my windoze box. So how am I going to copy and paste text from my Linux box to my Windows box?????? Hmm, let me consult the ghost of Einstein. I'll get back with you.

Last edited by johnvillegas; 03-15-2006 at 10:43 PM.
 
Old 03-15-2006, 10:46 PM   #21
johnvillegas
Member
 
Registered: Mar 2006
Location: Boise, ID
Distribution: SuSE
Posts: 88

Original Poster
Rep: Reputation: 15
Hangdog, thanks for the reply.

"I'm assuming that you have loaded the ndiswrapper module. Check the output of lsmod just to make sure."---checked

"Use iwconfig on the command line to set the SSID."---when I use 'iwconfig' on the command line, the output I get is:

lo no wireless extensions.

eth0 no wireless extensions.
#==================================End of output

Again, thanks for your reply. What is going on here? What should I do? Thanks.
 
Old 03-15-2006, 10:56 PM   #22
Mr_C
Member
 
Registered: Jan 2004
Location: Trinidad & Tobago
Distribution: Slackware
Posts: 317

Rep: Reputation: 30
ifconfig wlan0 up

Hmm thats odd the dev wasn't created.

Last edited by Mr_C; 03-15-2006 at 11:02 PM.
 
Old 03-15-2006, 11:00 PM   #23
johnvillegas
Member
 
Registered: Mar 2006
Location: Boise, ID
Distribution: SuSE
Posts: 88

Original Poster
Rep: Reputation: 15
Mr. C.,

In response to your question, no I don't see my card name. Hmm...what next?
 
Old 03-15-2006, 11:08 PM   #24
johnvillegas
Member
 
Registered: Mar 2006
Location: Boise, ID
Distribution: SuSE
Posts: 88

Original Poster
Rep: Reputation: 15
I already tried 'ifconfig wlan0 up', Mr. C. What next?
 
Old 03-15-2006, 11:43 PM   #25
Mr_C
Member
 
Registered: Jan 2004
Location: Trinidad & Tobago
Distribution: Slackware
Posts: 317

Rep: Reputation: 30
Please bear with me.

From http://ndiswrapper.sourceforge.net/m...p/Installation

make distclean
make install
ndiswrapper -i filename.inf
/usr/sbin/ndiswrapper -i filename.inf
/usr/sbin/ndiswrapper -l
ndiswrapper -m
depmod -a
modprobe ndiswrapper

Did you do a 'ndiswrapper -m'? You should then see a message along the lines of: Adding "alias wlan0 ndiswrapper" to /etc/modprobe.conf
 
Old 03-16-2006, 06:11 AM   #26
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119
Quote:
Originally Posted by Mr_C
Please bear with me.

From http://ndiswrapper.sourceforge.net/m...p/Installation

make distclean
make install
ndiswrapper -i filename.inf
/usr/sbin/ndiswrapper -i filename.inf
/usr/sbin/ndiswrapper -l
ndiswrapper -m
depmod -a
modprobe ndiswrapper

Did you do a 'ndiswrapper -m'? You should then see a message along the lines of: Adding "alias wlan0 ndiswrapper" to /etc/modprobe.conf
In a previous thread, I already explained johnvillegas how to make sure his ndiswrapper start at boot by adding
Code:
/sbin/modprobe ndiswrapper if_name=eth%d
to the end of /etc/rc.d/rc.modules. That way, the wireless interface will come up as eth0 and johnvillegas can use netconfig to set it up (he's running an older Slackware that has no out-of-the-box support in rc.inet1 for network interfaces that are called "wlan0").

So, johnvillegas. Can you please copy/paste the following output (and use a floppy or USB stick to transfer that from the wireless machine to your internet-connected one... you will have to find out how to do that yourself):

Code:
lsmod
Code:
lspci -v
Code:
ndiswrapper -l
Code:
iwconfig
Code:
ifconfig -a
Code:
cat /etc/rc.d/rc.inet1.conf
PS:
Quote:
Mr_C You have to run it as root
# /etc/rc.d/rc.wireless restart
Rather, run /etc/rc.d/rc.inet1 restart or even
Code:
/etc/rc.d/rc.inet1 eth0_restart
(to restart only your eth0 interface), because rc.wireless is not supposed to be run all by itself (and starting with Slackware 10.2 it will not even work any more).

Cheers, Eric
 
Old 03-16-2006, 08:07 AM   #27
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
I agree with Alien Bob....Until we get the info he has requested we're all just going to be running in circles.
 
Old 03-16-2006, 12:31 PM   #28
johnvillegas
Member
 
Registered: Mar 2006
Location: Boise, ID
Distribution: SuSE
Posts: 88

Original Poster
Rep: Reputation: 15
root@johnvillegas:/home/DesktopNetworking# lsmod
Module Size Used by Not tainted
ndiswrapper 166232 0
i830 61724 0
snd-pcm-oss 37736 0 (unused)
snd-mixer-oss 12504 0 [snd-pcm-oss]
usb-storage 66176 0
printer 7744 0
uhci 24444 0 (unused)
ehci-hcd 17580 0 (unused)
usbcore 59308 1 [ndiswrapper usb-storage printer uhci ehci-hcd]
i810-rng 2528 0 (unused)
snd-intel8x0 18924 0
snd-ac97-codec 49500 0 [snd-intel8x0]
gameport 1420 0 [snd-intel8x0]
snd-pcm 56072 0 [snd-pcm-oss snd-intel8x0]
snd-timer 13604 0 [snd-pcm]
snd-page-alloc 6328 0 [snd-intel8x0 snd-pcm]
snd-mpu401-uart 3200 0 [snd-intel8x0]
snd-rawmidi 12740 0 [snd-mpu401-uart]
snd-seq-device 3888 0 [snd-rawmidi]
snd 30852 0 [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 3396 4 [snd]
eepro100 19252 1
mii 2272 0 [eepro100]
pcmcia_core 39972 0
ide-scsi 9328 0
agpgart 43940 1
root@johnvillegas:/home/DesktopNetworking# lspci -v
#The output extended above the screen limitation so all I can type is what is #showing on the screen.
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB/ER Hub interface to PCI Bridge (rev 82) (prog-if 00 [Normal decode])
Flags: bus master, fast devse1, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: ff800000-ff8fffff

00:1f.0 ISA bridge: Intel Corp. 82801DB (ICH4) >PC Bridge (rev 02)
Flags: bus master, medium devse1, latency 0

00:1f.1 IDE interface: Intel Corp. 82801DB (ICH4) Ultra ATA 100 Storage Controller (rev 02) (prog-if 8a [Master SecP PriP])
Subsystem: Gateway 2000: Unknown device 2010
Flags: bus master, medium devse1, latency 0, IRQ 9
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at ffa0 [size=16]
Memory at 2f800000 (32-bit, non-prefetchable) [size-1K]

00:1f.3 SMBus: Intel Corp. 82801DB/DBM (ICH4) SMBus Controller (rev 02)
Subsystem: Gateway 2000: Unknown device 2010
Flags: medium devsel, IRQ 3
I/O ports at e000 [size=32]

00:1f.5 Multimedia audio controller: Intel Corp. 82801DB (ICH4) AC'97 Audio Controller (rev 02)
Subsystem: Gateway 2000: Unknown device 2010
Flags: bus master, medium devsel, latency 0, IRQ 3
I/O ports at e400 [size=256]
I/O ports at e080 [size=64]
Memory at ffa7f800 (32-bit, non-prefetchable) [size=512]
Memory at ffa7f400 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2

01:02.0 Communication Controller: Conexant: Unknown device 2f20
Subsystem: Conextant: Unknown device 2000
Flags: bus master, medium devsel, latency 32, IRQ 9
Memory at ff80000 (32-bit, non-prefetchable) [size=64K]
I/O ports at dc00 [size=8]
Capabilities: [40] Power Management version 2

01:08.0 Ethernet controller: Intel Corp. 82801BD PRO/100 VE (LOM) Ethernet Controller (rev 82)
Subsystem: Gateway 2000: Unknown device 2010
Flags: bus master, medium devsel, latency 32, IRQ 11
Memory at ff8ef000 (32-bit, non-prefetchable) [size=4k]
I/O ports at d880 {size=64]
Capabilities: [dc] Power Management version 2

root@johnvillegas:/home/DesktopNetworking# ndiswrapper -l
No drivers installed
root@johnvillegas:/home/DesktopNetworking# iwconfig
lo no wireless extensions.


eth0 no wireless extensions.

root@johnvillegas:/home/DesktopNetworking# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:11:11:A8:16:A6
inet addr:132.178.200.10 Bcast:132.178.207.255 Mask:255.255.248.0
UP 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)
Interrupt:11 Base address:0xc000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mast: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)

root@johnvillegas:/home/DesktopNetworking# cat /etc/rc.d/rc.inet1.conf
#/etc/rc.d/rc.inet1.conf
#
#This file contains the configuration settings for network interfaces.
#If USE_DHCP[interface] is set to "yes", this overrides any other settings.
#If you don't have an interface, leave the settings null ("").

#Config information for eth0:
IPADDR[0]="132.178.200.10"
NETMASK[0]="255.255.248.0"
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""

#Config information for eth1
##everthing from here to eth3 is null.

#Default gateway IP address:
Gateway="132.278.200.1"

#Change this to "yes" for debugging output to stdout. Unfortunately, #/sbin/hotplug seems to disable stdout so you'll only see debugging output when #rc.inet1 is called directly.
DEBUG_ETH_UP="no"

root@johnvillegas:/home/DesktopNetworking# /etc/rc.d/rc.inet1 eth0_restart
root@johnvillegas:/home/DesktopNetworking# ping www.google.com
ping: unknown host www.google.com
root@johnvillegas:/home/DesktopNetworking#
 
Old 03-16-2006, 12:31 PM   #29
johnvillegas
Member
 
Registered: Mar 2006
Location: Boise, ID
Distribution: SuSE
Posts: 88

Original Poster
Rep: Reputation: 15
What do you guys think?
 
Old 03-16-2006, 12:47 PM   #30
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119
It is obvious from your posting that:
  • Your ndiswrapper module is loaded - good.
  • You also have a built-in network card - an Intel based card supported by the eepro100 driver which is also loaded
  • The Intel card is known as the eth0 network device
  • The Windows driver files for ndiswrapper have not been installed - you never ran "ndiswrapper -i your_windows_driver_file.inf" to install that!!!
  • Your rc.inet1.conf shows that you configured your built-in "wired" card with a fixed IP address, but I assume you've not plugged in a network cable, right? So that is of little use.

Now, if your network uses fixed IP addresses, those addresses like you entered them for eth0, should be configured for eth1 (after you've installed the wireless Windows driver of course... until then there will be no eth1).

In rc.inet1.conf this is most easily done by changing
Code:
#Config information for eth0:
IPADDR[0]="132.178.200.10"
NETMASK[0]="255.255.248.0"
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""

#Config information for eth1
to
Code:
#Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""

#Config information for eth1
IPADDR[1]="132.178.200.10"
NETMASK[1]="255.255.248.0"
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""
Also, do not forget to check the file /etc/resolv.conf. That file should list the IP address(es) for the DNS server that you have in your network.

Quote:
# ndiswrapper -l
No drivers installed
REMEMBER to install that Windows driver!!! It has been told several times in this thread and the previous.

Eric
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Will my XF86Config file work in place of xorg.conf file BillyGalbreath Linux - General 2 03-08-2006 07:18 AM
Is lilo.conf file format is same for grub.conf? Chundo Linux - Newbie 1 01-30-2006 07:21 PM
rc.wireless.conf linuxhippy Slackware 4 06-05-2005 08:36 AM
saving changes to apache2/conf/httpd.conf file Zaius Linux - Newbie 6 01-10-2004 12:45 AM
Mandrake 9.2, 80.11b Wireless Card, resolv.conf file? ImpiousPunk Linux - Newbie 2 11-24-2003 06:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration