LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   wlan-ng package questions (https://www.linuxquestions.org/questions/slackware-14/wlan-ng-package-questions-226247/)

Corallis 09-03-2004 04:16 PM

Quote:

Werid it shouldnt even look at /usr/src/linux it should look at /usr/src/2.6.7
Just to check, I even just made a 2.6.7 symlink that points to linux-2.6.7 in my /usr/src directory, just in case it is looking for 2.6.7.

NLR 09-03-2004 04:19 PM

Run uname -r it should give to the full kernel version. Than go to kernel.org and download the kernel source tar that match that version and than decompress it in /usr/src/2.6.7 (remove the /usr/src/2.6.7 that there now first)...

Andrew

Corallis 09-03-2004 04:22 PM

Actually what I did was find the kernel-2.6.7 package on my slackware installation CD, and I used installpkg to run that. It apparently worked, because now it stopped giving me that error. Now, configuration was successful. Im ready to move on.

NLR 09-03-2004 04:27 PM

OK thats good... Now you want to do:
run: make all
when that finishes run: make install

Andrew

Corallis 09-03-2004 04:32 PM

The command "make all" stopped with the following error:

cp: cannot stat `usr/src/linux/.tmp_versions' : No such file or directory
make [2] : ***[default] Error 1

then it began to leave various directories like it does when it hits a snag.

NLR 09-03-2004 04:40 PM

I am wondering were it says:
cp: cannot stat `usr/src/linux/.tmp_versions' : No such file or

the usr/src/linux/.tmp_versions should be /usr/src/linux/.tmp_version (note the / before usr) is that a typo or is that what it said?

Andrew

Corallis 09-03-2004 04:43 PM

Sorry, that was a typo. This installation is taking place on my laptop, and Im doing all of my communicating and research on a nearby desktop. I have to type in all error codes manually, so that was just my error. There was a "/"

Corallis 09-03-2004 04:54 PM

Well, I did some research and someone said that you can just mkdir the file that it complained about. I tried that, and "make all" worked. Now Im going to try make install.

EDIT: Make install was successful. Im ready to move on.

NLR 09-03-2004 04:58 PM

ok just makeing sure... Im not sure what that file is... Try mkdir .tmp_versions and than make all; make install; see if it still errors off

Andrew

Corallis 09-03-2004 04:58 PM

Yeah, make all and make install were successful now.

NLR 09-03-2004 05:01 PM

I'm assuming your SSID is home from the previous messages do this:

cp /etc/wlan/wlancfg-DEFAULT /etc/wlan/wlancfg-home
vi /etc/wlan/wlan.config
(change the SSID_wlan0 line to: SSID_wlan0="home")


dose a /etc/pcmcia/network.opts exist?
Andrew

Corallis 09-03-2004 05:04 PM

Done. That file does exist.

NLR 09-03-2004 05:06 PM

Can you post what it contents are?

NLR 09-03-2004 05:09 PM

Nvm you should make: /etc/pcmcia/network.opts

look something like this (you are useing dhcp not static IPs right?)

# Network adapter configuration
#
# The address format is "scheme,socket,instance,hwaddr".
#
# Note: the "network address" here is NOT the same as the IP address.
# See the Networking HOWTO. In short, the network address is the IP
# address masked by the netmask.
#
case "$ADDRESS" in
*,*,*,*)
INFO="DHCP network setup"
# Transceiver selection, for some cards -- see 'man ifport'
IF_PORT=""
# Use BOOTP (via /sbin/bootpc, or /sbin/pump)? [y/n]
BOOTP="n"
# Use DHCP (via /sbin/dhcpcd, /sbin/dhclient, or /sbin/pump)? [y/n]
DHCP="y"
# If you need to explicitly specify a hostname for DHCP requests
DHCP_HOSTNAME=""
# Host's IP address, netmask, network address, broadcast address
IPADDR=""
NETMASK=""
NETWORK=""
BROADCAST=""
# Gateway address for static routing
GATEWAY=""
# Things to add to /etc/resolv.conf for this interface
DOMAIN=""
SEARCH=""
# The nameserver IP addresses specified here complement the
# nameservers already defined in /etc/resolv.conf. These nameservers
# will be added to /etc/resolv.conf automatically when the PCMCIA
# network connection is established and removed from this file when
# the connection is broken.
DNS_1=""
DNS_2=""
DNS_3=""
# NFS mounts, should be listed in /etc/fstab
MOUNTS=""
# If you need to override the interface's MTU...
MTU=""
# For IPX interfaces, the frame type and network number
IPX_FRAME=""
IPX_NETNUM=""
# Run ipmasq? [y/n] (see the Debian ipmasq package)
IPMASQ="n"
# Extra stuff to do after setting up the interface
start_fn () { return; }
# Extra stuff to do before shutting down the interface
stop_fn () { return; }
# Card eject policy options
NO_CHECK=n
NO_FUSER=n
;;
esac

Corallis 09-03-2004 05:10 PM

# See the Networking HOWTO. In short, the network address is the IP
# address masked by the netmask.
#
case "$ADDRESS" in
*,*,*,*)
INFO="Sample private network setup"
# Transceiver selection, for some cards -- see 'man ifport'
IF_PORT=""
# Use BOOTP (via /sbin/bootpc, or /sbin/pump)? [y/n]
BOOTP="n"
# Use DHCP (via /sbin/dhcpcd, /sbin/dhclient, or /sbin/pump)? [y/n]
DHCP="n"
# If you need to explicitly specify a hostname for DHCP requests
DHCP_HOSTNAME=""
# Host's IP address, netmask, network address, broadcast address
IPADDR="192.168.1.1"
NETMASK="255.255.255.0"
NETWORK=""
BROADCAST=""
# Gateway address for static routing
GATEWAY=""
# Things to add to /etc/resolv.conf for this interface
DOMAIN=""
SEARCH=""
DNS_1=""
DNS_2=""
DNS_3=""
# NFS mounts, should be listed in /etc/fstab
MOUNTS=""
# If you need to override the interface's MTU...
MTU=""
# For IPX interfaces, the frame type and network number
IPX_FRAME=""
IPX_NETNUM=""
# Extra stuff to do after setting up the interface
start_fn () { return; }
# Extra stuff to do before shutting down the interface
stop_fn () { return; }
# Card eject policy options
NO_CHECK=n
NO_FUSER=n
;;
esac



There is the contents of my file.


All times are GMT -5. The time now is 09:45 AM.