LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Learned my lesson, I am re-installing Slack, 2 questions please (https://www.linuxquestions.org/questions/slackware-14/learned-my-lesson-i-am-re-installing-slack-2-questions-please-802584/)

BobNutfield 04-17-2010 03:10 PM

Learned my lesson, I am re-installing Slack, 2 questions please
 
Hello Everyone

To all those who gave me assistance during my recent failed attempt to get the network running on the old P4 laptop, I thank you again. After turning to both Fedora and Ubuntu thinking that was going to solve it, I learned that Slack is still king and I should have persevered and solved the networking problem and kept Slackware installed in the first place.

Well, I am now reinstalling Slack, and before I do, I would just like to ask two questions.

1. I cannot get X running with the drivers that the kernel inserts after the install. Is there a way I can go ahead and specify the "vesa" driver be used during the install to save time?

2. Is there some way to check my network connections during the install to try and prevent the DHCP issues I had the first time? If you will recall, I got a connection to the network, but no IP address was offered.

I appreciate any help

Bob

vss2094 04-17-2010 03:21 PM

Hi,

Try using search feature,:) there's ample information spread here about both your questions.

Good Luck!

BobNutfield 04-17-2010 03:26 PM

Quote:

Originally Posted by vss2094 (Post 3938766)
Hi,

Try using search feature,:) there's ample information spread here about both your questions.

Good Luck!

Thank you for your post. Yes, I am sure I could have found it when I did search the first time somewhere in the 100 + posts about compiz, just thought I might get a quick tip

Bob

dive 04-17-2010 04:23 PM

1) There is an example xorg.conf-vesa in /etc/X11 you may need to edit a abit though.

2) You are installing over the network? Or just want to setup networking?

GazL 04-17-2010 04:44 PM

Didier made a post a few weeks back with some valuable insights into how the framebuffer/modesetting now works. You may find it useful.

BobNutfield 04-17-2010 05:46 PM

Well, thanks again, guys, but same story on this install. Got everything working but networking. I will tell you, this has been the toughest problem I have ever incurred in Linux and it appears that it is a tough for everyone because I have posted this issue on three different forums and consulted a Linux pro here in town. No one seems to have heard of this before and no one has been able to direct my investigation.

I set up /etc/rc.d/rc.inet1 exactly the same as on another working setup I have, as well as wpa_supplicant, and I continue to get exactly the same results. The odd thing to me is that it effects wired connections as well. The only clues I have are from dmesg:

Quote:

wlan0: privacy configuration mismatch and mixed-cell disabled - disassociate
wlan0 direct probe responded
wlan0: authenticate with AP 00:02:cf:ea:ab:b4
wlan0: authenticated
wlan0: associated with AP 00:02:cf:ea:ab:b4
wlan0: mismatch in privacy configuration and mixed-cell disabled - abort association
and further down:

Quote:

ADDRCONF (NETDEV_CHANGE): wlan0: link becomes ready
wlan0: no IPv6 routers present
wlan0: deauthenticating by local choice )reason=3)
It appears to be DHCP related but I just can't figure it out. Especially why it works for one machine and not the other.

I continue to get this:

Quote:

err, wlan0: option 43 has zero length
err, wlan0L failed to parse packet
It continues that for about ten lines and then times out.

Iwlist scan finds my network.

So, I have now re-installed three times, configured three times, same result. I would think this was an impossible taks except that other distros have no problem with the network interfaces, they just could not handle this graphics chip. Slack is the only one that will handle that with the vesa driver. But no networking.

Does anyone have any ideas where I could look?

Bob

damgar 04-17-2010 06:04 PM

I had a customer today and their router would associate, but not hand out an IP address. I just set a static IP and away I went.............sort of. The router proved to be bad. Linksys routers do this A LOT. Also there is ndiswrapper which may or may not help, I've been on both sides of that fence.

And why are you getting output about IPv6?

BobNutfield 04-17-2010 06:18 PM

The router is brand new, and there are four other computers that network from it just fine. I wondered about the IPv6 output as well, but it has not been an issue on the other machines. I have found only one piece of information on the net about this issue and there was no resolve there either. If I had only one machine using the network, then I would try a static address. I did try it once by resetting the router temporarily and got the same result. The router is not a Linksys, it is a Zyxel which apparently have a good reputation.

Bob

damgar 04-17-2010 06:25 PM

Quote:

Originally Posted by BobNutfield (Post 3938878)
The router is brand new, and there are four other computers that network from it just fine. I wondered about the IPv6 output as well, but it has not been an issue on the other machines. I have found only one piece of information on the net about this issue and there was no resolve there either. If I had only one machine using the network, then I would try a static address. I did try it once by resetting the router temporarily and got the same result. The router is not a Linksys, it is a Zytex which apparently have a good reputation.

Bob

I have one customer that has a Zytex so I can't speak as to it's reputation, but I wish that customer would throw it in the trash. You should be able to associate a MAC to an IP in the router so that the router always give the same IP to that machine. Set it static in the laptop. My network has all static with the router set to DHCP. This allows for static routing in the full time members of the network, while visitors phones and laptops are allowed to draw IP addresses. Setting infinite leases is another option if the router allows that.

BobNutfield 04-17-2010 06:40 PM

yes, that was my next experiment. I am going to assign the laptop an address in the client list on the router and see if that makes any difference. I have alreadd tried setting a static address on the laptop to no avail, same results. I can see that it authenticates just fine, associates, and then disassociates and unauthenticates for some unknown reason. But this is the only machine I have that does this. As I mention, wired connection prodouces the same results, so it is an overall networking problem. It did occur to me that I have two laptops with similar names: bob-laptop and bob-laptop1 with of course difference wireless chips and different mac addresses, so I doubt that has any effect.

Bob

BobNutfield 04-17-2010 06:52 PM

Quote:

Originally Posted by dive (Post 3938804)
1) There is an example xorg.conf-vesa in /etc/X11 you may need to edit a abit though.

2) You are installing over the network? Or just want to setup networking?

Hello, dive

Just trying to get networking setup. I will tackle other things later as I have a usable system now.

Hello GazL

That looks like it might be of great help. Just need to get networking going before I try to tackle the graphics.

damgar 04-17-2010 07:03 PM

Did you install wicd or are you just using what comes with the stock slackware?

onebuck 04-17-2010 07:50 PM

Hi,

I have a Zyxel 630 and believe the Modem/router setup pool is 192.168.x.1-34 for wired and DHCP pool starts at 35. Of course this is all configurable.

I would setup a static IP for the wired first to confirm your install. Then test a wireless static IP. Do you have another wireless card for the laptop to make sure it's not the built in chipset?

I would disable the IPV6 by adding this to the '/etc/modprobe.d/modprobe.conf';

Code:

# disable autoload of ipv6
alias net-pf-10 off

This will disable the automatic loading of ipv6, while also allowing you to load it manually later, if need be.

:hattip:

BobNutfield 04-18-2010 01:39 AM

Quote:

Originally Posted by damgar (Post 3938911)
Did you install wicd or are you just using what comes with the stock slackware?

I am now using what comes stock with Slackware. On the previous install I did try wicd, but got no where with it.

BobNutfield 04-18-2010 01:52 AM

Quote:

Originally Posted by onebuck (Post 3938932)
Hi,

I have a Zyxel 630 and believe the Modem/router setup pool is 192.168.x.1-34 for wired and DHCP pool starts at 35. Of course this is all configurable.

I would setup a static IP for the wired first to confirm your install. Then test a wireless static IP. Do you have another wireless card for the laptop to make sure it's not the built in chipset?

I would disable the IPV6 by adding this to the '/etc/modprobe.d/modprobe.conf';

Code:

# disable autoload of ipv6
alias net-pf-10 off

This will disable the automatic loading of ipv6, while also allowing you to load it manually later, if need be.

:hattip:

Hello Onebuck,

I will try that as well. I did find one odd thing this morning. When I went into the router setup and checked the client list it is listing my other laptops hostname as the name of the SSID. which is "Sprocket" (my dogs name). My laptop's hostname is "bob-laptop" and the hostname of the troublesome laptop is "bob-laptop1". I do not know why the client list on the router would be listing its own name.

Thanks for the help

Bob

BTW: The network card is fine. It is the RT2500 chipset which as been natively supported since 2.6.23 (or before). The module it uses is the RT2500pci. It used to use the older RT2500 module but it would not work with WPA encryption. The new module does. I have used this card this four other distrobutions and Windows successfully. I don't believe it is the card.

BobNutfield 04-18-2010 02:08 AM

Well, maybe another clue. The client list in the router setup is listing "bob-laptop1" with its HWaddr and a hostname of "Sprocket". It also shows "bob-laptop" with its HWaddr and a hosthane of "Sprocket".

Bob

BobNutfield 04-18-2010 02:35 AM

Not being a networking expert I don't have clue what most of this means, but I run:

Quote:

wpa_supplicant -du -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
It produces line after line of fast moving text, but some of the pertinent ones look like this:

Quote:

WPA: Invalid EAPOL-Key MIC when using TPTK - ignoring TPTK
WPA: Could not verify EAPOL-Key MIC - dropping packet
wpa_driver_wext_set_operstate: operstate 0-> (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_deauthenticate
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE enterning state DISCONNECTED
It repeats this many times until I press Control-c to stop it. Also, I tried changing the name of the DHCPHOSTNAME to the laptop hostname and it made no difference.

Does anyone know what this output means?

Bob

BobNutfield 04-18-2010 02:42 AM

Well, maybe another clue. After making the DHCP hostname change and rebooting, I checked the client list in the router and the laptop is list with an IP address of 192.168.1.37! But Slack dropped the IP address and assigned the failed address of 169.254.181.78. What in the world could be going on?

Bob

BobNutfield 04-18-2010 03:23 AM

Tried another wireless card that used the zd1211 module. Loaded the module fine, but same result as the other card, so it is not a driver issue.

Bob

BobNutfield 04-18-2010 03:43 AM

iwconfig on the working machine and the failed machine are the same except as follows:

working machine:

Quote:

Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=70/70 Signal level=-38 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
The machine I cannot connect with:

Quote:

Encryption key: XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX Security mode:open Fragment thr=2352 B
This might also be a clue.

I apologize for replying to my own posts but it is an effort provide as much information as I can to an expert who may recognize what the problem is.

Bob

hughetorrance 04-18-2010 04:56 AM

:(A couple of years ago I had a brand new router that took me six months to realise it was faulty... changed to an old spare one ... problem solved. !:D:D:D

BobNutfield 04-18-2010 05:00 AM

Quote:

Originally Posted by hughetorrance (Post 3939143)
:(A couple of years ago I had a brand new router that took me six months to realise it was faulty... changed to an old spare one ... problem solved. !:D:D:D

Thank, I had considered that. But it works with every other distro and is currently working fine with four other machines. Not the router. I think I have narrowed it down to this problem:

Quote:

WPA: Invalid EAPOL-key when using TPIK - ignoring TPIK
But, I have no idea how to fix it or whether I ever will be able to.

Thanks for the reply.

Bob

hughetorrance 04-18-2010 05:50 AM

Hardware resetting
 
What about resetting the hardware to factory defaults... ! sorry if my guessing is useless ! but sometimes the simplest ideas are the best.

mrclisdue 04-18-2010 05:58 AM

...and does your lappy connect with no encryption, sans wpa...?

I've been following your threads and have always had a niggling suspicion about wpa_supplicant and its ilk (what kept me from responding were a)the issue occurs with *wired* connections, as well and b)i figured a wireless guru might have chimed in.) However, I seem to recall past issues specifically with wpa (though none have ever affected me, and I can't point you to any thread in particular....)

cheers,

BobNutfield 04-18-2010 06:05 AM

Quote:

Originally Posted by hughetorrance (Post 3939168)
What about resetting the hardware to factory defaults... ! sorry if my guessing is useless ! but sometimes the simplest ideas are the best.

Thank you for your help. I did that already. No dice.

Bob

BobNutfield 04-18-2010 06:20 AM

Quote:

Originally Posted by mrclisdue (Post 3939177)
...and does your lappy connect with no encryption, sans wpa...?

I've been following your threads and have always had a niggling suspicion about wpa_supplicant and its ilk (what kept me from responding were a)the issue occurs with *wired* connections, as well and b)i figured a wireless guru might have chimed in.) However, I seem to recall past issues specifically with wpa (though none have ever affected me, and I can't point you to any thread in particular....)

cheers,

Thanks for your reply. I have tried disabling the security on the router and I get the same errors. I have found dozens of forum posts about this issue on the net now that I have dug deep. It's amazing to me that not ONE of these posts had ever had a solution. I don't recall a linux issue that was unresolvable, and I suspect that there is an answer to this one as well, but whether I will ever find it I am beginning to doubt. However, the point is close to being moot. I was trying to revive this laptop for my wife and finally get her to "trust" Linux. Windows will not run on it in any usuable way, no other Linux distrobution will handle the graphics, so if I cannot get this fixed, the laptop will go on the trash heap. Pity, though, I think there would have been a few years of life left in it.

I may try to download the -current .iso and install that. If that fails, it's the trash heap.

Bob

mrclisdue 04-18-2010 06:26 AM

Quote:

Originally Posted by BobNutfield (Post 3939193)
...if that fails, it's the trash heap...

noooooooooooooo!!

seriously, I'll be in the UK in early June, and I could use it...(one of my projects is reviving old stuff and giving it away, spreading the linux *love* virus; just starting a program with a local first nations group...)

cheers,

BobNutfield 04-18-2010 06:57 AM

Quote:

Originally Posted by mrclisdue (Post 3939195)
noooooooooooooo!!

seriously, I'll be in the UK in early June, and I could use it...(one of my projects is reviving old stuff and giving it away, spreading the linux *love* virus; just starting a program with a local first nations group...)

cheers,

Yes, that is a little extreme. It does still work with live cd's (with a network connection, I might add).

You are probably right about wpa_supplicant. When I run it, it associates, connects and then just hangs, no further output at all.

Bob

dive 04-18-2010 07:27 AM

Quote:

Originally Posted by BobNutfield (Post 3939210)
You are probably right about wpa_supplicant. When I run it, it associates, connects and then just hangs, no further output at all.

That's normal. Now open a second terminal and do 'dhcpcd wlan0' or whichever interface you are using.

BobNutfield 04-18-2010 07:37 AM

Quote:

Originally Posted by dive (Post 3939226)
That's normal. Now open a second terminal and do 'dhcpcd wlan0' or whichever interface you are using.

Thanks

same result

Code:

option 43 has zero length
      failed to parse packet


BobNutfield 04-18-2010 08:28 AM

Just tried with a Puppy live cd. Getting the same errors now with Puppy. Now I must look elsewhere.

Sheeesh!

Bob

onebuck 04-18-2010 09:20 AM

Hi,

You did disable ipv6?

What about the Ethernet (wired) static IP setup? Did it work?
A sample static IP configuration;
Code:

~#ifconfig -a                      #get recognized devices
~#ifconfig eth0 192.168.0.10      #set to a available IP
~#route add default gw 192.168.0.1 #set to your gateway
~#route -n                        #show the route table
~#ifconfig eth0 up                #should be up already
~#ping 192.168.0.1                #ping your gateway
~#ping 208.69.32.130              #google.com IP
~#ping google.com                  #test DNS, if fail then
                                  #check /etc/resolv.conf

You should have your '/etc/resolv.conf' setup with your 'ISP DNS' nameservers. If the static IP works for Ethernet then move to setup the wireless network device. If that doesn't work then reboot or restart the inet.

Then show us the output;

Code:

~#ifconfig -a
~#route -n
~#cat /etc/rc.inet1.conf
~#lsmod

~#lspci -vv |grep -i network
~#lspci -vv |grep -i Ethernet

or

~#lspci -vv -s [[[[<domain>]:]<bus>]:][<slot>][.[<func>]]

For the last command take the 'device address' from the output of the 'lspci -vv |grep -i network'.

Which driver is shown for Network(wireless) & Ethernet device for the 'lspci' output?

BobNutfield 04-18-2010 10:36 AM

Thanks onebuck,

The wired connection gives me the same output, it doesn't connect either. I don't know why this will not work with Slackware (and now Puppy as well) when it has worked with Windows and others distros.

I don't believe this one can be fixed.

Bob


EDIT: Your instructions for setting up the manual WIRED configuration WORKED! I was able to ping the other machines and the router, but could not get a net connection (DNS). The /etc/resolv.conf was empty so I copied the information from a working machine. Still could not reach the net. BUT, at least I know the router works, It is something in DHCP and wpa_supplicant, I am convinced.

BobNutfield 04-18-2010 11:39 AM

Sorry, onebuck. It took me a while to copy all of it over.

ifconfig -a:

Quote:

eth0 Link encap:Ethernet HWaddr 00:00:f0:84:c1:3f
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)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:28 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1480 (1.4 KiB) TX bytes:1480 (1.4 KiB)

wlan0 Link encap:Ethernet HWaddr 00:11:50:91:22:5c
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:74 errors:0 dropped:0 overruns:0 frame:0
TX packets:96 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:18865 (18.4 KiB) TX bytes:21813 (21.3 KiB)

wmaster0 Link encap:UNSPEC HWaddr 00-11-50-91-22-5C-6C-6F-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)
route -n:

Quote:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 wlan0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
cat /etc/rc.d/rc.inet1.conf

Quote:

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

# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""

# Config information for eth2:
IPADDR[2]=""
NETMASK[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""

# Config information for eth3:
IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""

# Default gateway IP address:
GATEWAY=""

# 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"

## Example config information for wlan0. Uncomment the lines you need and fill
## in your info. (You may not need all of these for your wireless network)
IFNAME[4]="wlan0"
IPADDR[4]=""
NETMASK[4]=""
USE_DHCP[4]="yes"
DHCP_HOSTNAME[4]="bob-laptop1"
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
#WLAN_ESSID[4]=BARRIER05
#WLAN_MODE[4]=Managed
##WLAN_RATE[4]="54M auto"
##WLAN_CHANNEL[4]="auto"
##WLAN_KEY[4]="D5AD1F04ACF048EC2D0B1C80C7"
##WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=96389dc66eaf7e6efd5b5523ae43c7925ff4df2f8b7099495192d44a774fda16"
WLAN_WPA[4]="wpa_supplicant"
WLAN_WPADRIVER[4]="wext"
WLAN_WPACONF[1]="/etc/wpa_supplicant.conf"

## Some examples of additional network parameters that you can use.
## Config information for wlan0:
#IFNAME[4]="wlan0" # Use a different interface name nstead of
# the default 'eth4'
#HWADDR[4]="00:01:23:45:67:89" # Overrule the card's hardware MAC address
#MTU[4]="" # The default MTU is 1500, but you might need
# 1360 when you use NAT'ed IPSec traffic.
#DHCP_KEEPRESOLV[4]="yes" # If you dont want /etc/resolv.conf overwritten
#DHCP_KEEPNTP[4]="yes" # If you don't want ntp.conf overwritten
#DHCP_KEEPGW[4]="yes" # If you don't want the DHCP server to change
# your default gateway
#DHCP_IPADDR[4]="" # Request a specific IP address from the DHCP
# server
#WLAN_ESSID[4]=DARKSTAR # Here, you can override _any_ parameter
# defined in rc.wireless.conf, by prepending
# 'WLAN_' to the parameter's name. Useful for
# those with multiple wireless interfaces.
#WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=thekey"
# Some drivers require a private ioctl to be
# set through the iwpriv command. If more than
# one is required, you can place them in the
# IWPRIV parameter (separated with the pipe (|)
# character, see the example).
lsmod:

Quote:

Module Size Used by
snd_seq_dummy 2464 0
snd_seq_oss 29792 0
snd_seq_midi_event 5980 1 snd_seq_oss
snd_seq 47984 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 6088 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 37728 0
snd_mixer_oss 14300 1 snd_pcm_oss
ipv6 243508 12
cpufreq_ondemand 6632 0
speedstep_lib 3840 0
freq_table 3420 1 cpufreq_ondemand
lp 9316 0
fuse 54008 1
rt2500pci 14780 0
rt2x00pci 7004 1 rt2500pci
rt2x00lib 26972 2 rt2500pci,rt2x00pci
rfkill 9296 2 rt2x00lib
led_class 3392 1 rt2x00lib
mac80211 155588 2 rt2x00pci,rt2x00lib
cfg80211 36468 2 rt2x00lib,mac80211
eeprom_93cx6 1692 1 rt2500pci
pcmcia 33772 0
joydev 9504 0
ppdev 7200 0
snd_intel8x0 28696 2
snd_ac97_codec 100128 1 snd_intel8x0
yenta_socket 23848 2
e100 30660 0
rsrc_nonstatic 10876 1 yenta_socket
parport_pc 24036 1
ac97_bus 1372 1 snd_ac97_codec
pcmcia_core 32016 3 pcmcia,yenta_socket,rsrc_nonstatic
mii 4380 1 e100
snd_pcm 68128 3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
parport 30700 3 lp,ppdev,parport_pc
snd_timer 19108 2 snd_seq,snd_pcm
thermal 15096 0
snd 50820 13 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd _timer
processor 38600 2 thermal
intel_agp 25628 1
soundcore 5824 1 snd
fan 4064 0
video 16492 0
rtc_cmos 10124 0
i2c_i801 8784 0
thermal_sys 10756 4 thermal,processor,fan,video
agpgart 29256 1 intel_agp
rtc_core 15992 1 rtc_cmos
shpchp 31888 0
psmouse 41676 0
snd_page_alloc 7972 2 snd_intel8x0,snd_pcm
output 2396 1 video
rtc_lib 2332 1 rtc_core
hwmon 2104 1 thermal_sys
button 5708 0
container 3132 0
ac 3840 0
battery 9856 0
serio_raw 5024 0
evdev 9152
lspci -vv | grep network:

Quote:

lspci -vv | grep network:

03:00.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)
Subsystem: Belkin F5D7010 Wireless G Notebook Network Card
lspci -vv |grep -i Ethernet

Quote:

02:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (LOM) Ethernet Controller (rev 82
Hope that can get clarity on it. Thank you very much for looking at this.

Bob

fancylad 04-18-2010 01:44 PM

Quote:

EDIT: Your instructions for setting up the manual WIRED configuration WORKED! I was able to ping the other machines and the router, but could not get a net connection (DNS). The /etc/resolv.conf was empty so I copied the information from a working machine. Still could not reach the net. BUT, at least I know the router works, It is something in DHCP and wpa_supplicant, I am convinced
Can you ping the ip that is in /etc/resolv.conf? If not then the default gateway is probably not setup. run: netstat -rn. You should see a line like:

0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0

Which means that all ip address that don't match any other route get sent to 192.168.1.1 (this should be the ip of your router). If you don't see a line like this then you don't have a default gatweway and that's why you can't reach your ISp's dns servers.

BobNutfield 04-18-2010 02:03 PM

Thank you for your post, but the gateway is active and recognized. Just and cannot get an IP address.

Bob

keng 04-18-2010 02:28 PM

I also had a problem with DHCP not playing nice with my router.
Run 'dhclient' from a prompt and see if you get an IP address.

BobNutfield 04-18-2010 02:41 PM

Quote:

Originally Posted by keng (Post 3939633)
I also had a problem with DHCP not playing nice with my router.
Run 'dhclient' from a prompt and see if you get an IP address.

I have tried that as well. It simply times out. To tell you the truth, I am losing the will to go on with this. The purpose of the whole things was to install a stable system for my to use Linux. She was not willing to learn it in the past, but said if I could set this laptop up, she would give it a try. That has been blown out of the water. I don't think I will be able to convince her anytime soon that Linux is "easy" now.

Thank you for you post.

Bob

BobNutfield 04-18-2010 02:53 PM

Quote:

Originally Posted by keng (Post 3939633)
I also had a problem with DHCP not playing nice with my router.
Run 'dhclient' from a prompt and see if you get an IP address.

keng, I have been going crazy with this for a week now. I tried dhclient at least a dozen times before. Just for the heck of it I tried it again just now and it WORKED!!! I got an IP address for this machine for the first time.

I will just have to see if it is a freak success and won't withstand a reboot, but it has worked for the first time, so that is proof that it will work.

Thank you very much for taking the time to post. And if this fixes it, thank you to each and every one who posted trying to help. I have learned a lot from this and I hope I can share that with someone else who may have the same issue.

For anyone else dealing with this issue regarding dhcpcd and the "option 43" error, there is additional very good information in this thread:

http://www.linuxquestions.org/questi...173/page2.html

Bob

BobNutfield 04-18-2010 03:00 PM

Just disconnected and reconnected using dhclient. Worked for the second time, so I am marking this thread SOLVED. I really am going to endeavor to find out why dhcpcd would not work when it does with one other laptop running Slack current. But for now I am thrilled to see the end of this one.

Thanks again to everyone, particularly keng.

Bob

onebuck 04-18-2010 03:58 PM

Hi,

Quote:

Originally Posted by BobNutfield (Post 3939421)
Thanks onebuck,

The wired connection gives me the same output, it doesn't connect either. I don't know why this will not work with Slackware (and now Puppy as well) when it has worked with Windows and others distros.

I don't believe this one can be fixed.

Bob


EDIT: Your instructions for setting up the manual WIRED configuration WORKED! I was able to ping the other machines and the router, but could not get a net connection (DNS). The /etc/resolv.conf was empty so I copied the information from a working machine. Still could not reach the net. BUT, at least I know the router works, It is something in DHCP and wpa_supplicant, I am convinced.

When you set this did you place the nameservers from your ISP in '/etc/resolv.conf'?

You will set the DNS up. I sometimes test with a third level DNS;

Code:

'/etc/resolv.conf';

#verizon third level
nameserver 4.2.2.1
nameserver 4.2.2.2
nameserver 4.2.2.3
nameserver 4.2.2.4

Plus be sure to setup the default route for the eth0 device;
Code:

~#route add default gw 192.168.1.1      #set this to your gateway
~#route -n                              #show kernel route table

Kernel IP routing table
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
192.168.1.0    0.0.0.0        255.255.255.0  U    0      0        0 eth0
127.0.0.0      0.0.0.0        255.0.0.0      U    0      0        0 lo
0.0.0.0        192.168.1.1    0.0.0.0        UG    1      0        0 eth0

Notice the gateway for my sample output.

BobNutfield 04-18-2010 04:23 PM

Yes, thank you onebuck. I followed your directions and the results are as you described. It appears as the dhcpcd was the cultprit after all. I am still going to see if I can figure why dhclient works and dhcpcd doesn't

All the best

Bob

onebuck 04-18-2010 05:12 PM

Hi,

I would be sure to disable ipv6 as shown
. Once you confirm the wired Ethernet works statically you can then proceed to setup the wireless network device. I would setup the wireless device in the same as the Ethernet;

I would setup a static IP first, do as root from cli;

Code:

~#ifconfig -a                      #get recognized devices
~#ifconfig wlan0 192.168.0.10      #set to a available IP
~#route add default gw 192.168.0.1 #set to your gateway
~#route -n                        #show the route table
~#ifconfig wlan0 up                #should be up already
~#ping 192.168.0.1                #ping your gateway
~#ping 208.69.32.130              #google.com IP
~#ping google.com                  #test DNS, if fail then
                                  #check /etc/resolv.conf

Don't forget the '/etc/resolv.conf' setup. Once you confirm that the static is working then you can either setup via the '/etc/rc.d/rc.inet1.conf' or use wicd. I sometimes just use a script when I want to change;

Code:

wlan.sh

#!/bin/bash
#
#10-26-09 13:30
#setup the wlan0 device
#
/sbin/ifconfig wlan0 192.168.1.18      #set to your IP
/sbin/route add default gw 192.168.1.1  #your gateway
/sbin/iwconfig wlan0 essid "your essid"
/sbin/iwconfig wlan0 'key put your key here'
/sbin/iwconfig wlan0 ap 00:0F:66:E1:67:07  #this would be from 'iwlist wlan0 scan'

Once you have the static working then proceed to setup encryption.

BTW, I would be changing my key if the post you posted above is the current key. You don't need to post keys for us to aid in diagnosis.

:hattip:

BobNutfield 04-19-2010 03:09 AM

Quote:

TW, I would be changing my key if the post you posted above is the current key. You don't need to post keys for us to aid in diagnosis.
Thanks, onebuck. That was not my actual key. It is stored in wpa_supplicant, which I did not post. I tried your method and it does infact get me connected with an IP address. I still could not get online even though I had correctly configured /etc/resolv.conf. However, if I disconnect with wicd and receconnect with wicd, I am assigned the same IP address, and I am online.

I will continue to investigate these issues, but for now I can connect and that was the biggest issue.


Thank you for your help.

Bob


All times are GMT -5. The time now is 09:24 PM.