From: Larry Gagnon on
I have been given a 5 year old Acer Aspire 1355LCi laptop and have loaded
Slack 12.0. Most stuff works fine except wireless and suspend
to RAM. In fact, most of the wireless system works except getting a dhcp
IP address. So I need some help. Here is the wireless info:

- wireless chip is RTL8180 and I'm using ndiswrapper, which apparently
works for everyone with this chip
- "lsmod" shows ndiswrapper is loaded and "ndiswrapper -l" shows the
correct driver has been loaded
- wlan0 comes up fine, shows the correct MAC address for the wireless chip
- "iwlist wlan0 scan" shows me the local wireless networks including mine,
so the receiver is working great
- "iwconfig wlan0 myparameters" works fine. I have turned off encryption
on my wireless network just to ensure that was not an issue. It's not!
- my router log shows the wireless transmitter seems to work as it shows
that MAC address connected to the network.
- "dhcpcd wlan0" always FAILS!! This occurs at whatever open network I try
to connect to, not just my own home network and router.
- /var/log/dhcpcd.log shows discover signal sent, but fails to connect
after 20 seconds, every time, every network.
- when dhcpcd stops after failing to connect wlan0 has been brought down
by dhcpcd.

I don't have any sort of software firewall that could be messing things up
and I cannot seem to figure out where to go to next in my troubleshooting.

Any ideas/help greatly appreciated.


Larry

--
For direct email remove fake.
From: big_boote on
Larry Gagnon wrote:
> I have been given a 5 year old Acer Aspire 1355LCi laptop and have loaded
> Slack 12.0. Most stuff works fine except wireless and suspend
> to RAM. In fact, most of the wireless system works except getting a dhcp
> IP address. So I need some help. Here is the wireless info:
>
> - wireless chip is RTL8180 and I'm using ndiswrapper, which apparently
> works for everyone with this chip
> - "lsmod" shows ndiswrapper is loaded and "ndiswrapper -l" shows the
> correct driver has been loaded
> - wlan0 comes up fine, shows the correct MAC address for the wireless chip
> - "iwlist wlan0 scan" shows me the local wireless networks including mine,
> so the receiver is working great
> - "iwconfig wlan0 myparameters" works fine. I have turned off encryption
> on my wireless network just to ensure that was not an issue. It's not!
> - my router log shows the wireless transmitter seems to work as it shows
> that MAC address connected to the network.
> - "dhcpcd wlan0" always FAILS!! This occurs at whatever open network I try
> to connect to, not just my own home network and router.
> - /var/log/dhcpcd.log shows discover signal sent, but fails to connect
> after 20 seconds, every time, every network.
> - when dhcpcd stops after failing to connect wlan0 has been brought down
> by dhcpcd.
>
> I don't have any sort of software firewall that could be messing things up
> and I cannot seem to figure out where to go to next in my troubleshooting.

Does manually configuring an address in your subnet work? For example:

# ifconfig wlan0 192.168.0.101 netmask 255.255.255.0 up

If manual works, and there are dhcp client systems on your LAN and do
they correctly get dhcp ip + resolver + gateway addresses?

Is the dhcp server a wireless router / WAP or ISP?

Cheers,
From: Koppology on
Perhaps you can increase the time of the DHCPCD timeout? That worked
for me once.

On Dec 10, 2:42 am, big_boote <""Lazardo\"@(big_boote)"> wrote:
> Larry Gagnon wrote:
> > I have been given a 5 year old Acer Aspire 1355LCi laptop and have loaded
> > Slack 12.0. Most stuff works fine except wireless and suspend
> > to RAM. In fact, most of the wireless system works except getting a dhcp
> > IP address. So I need some help. Here is the wireless info:
>
> > - wireless chip is RTL8180 and I'm using ndiswrapper, which apparently
> > works for everyone with this chip
> > - "lsmod" shows ndiswrapper is loaded and "ndiswrapper -l" shows the
> > correct driver has been loaded
> > - wlan0 comes up fine, shows the correct MAC address for the wireless chip
> > - "iwlist wlan0 scan" shows me the local wireless networks including mine,
> > so the receiver is working great
> > - "iwconfig wlan0 myparameters" works fine. I have turned off encryption
> > on my wireless network just to ensure that was not an issue. It's not!
> > - my router log shows the wireless transmitter seems to work as it shows
> > that MAC address connected to the network.
> > - "dhcpcd wlan0" always FAILS!! This occurs at whatever open network I try
> > to connect to, not just my own home network and router.
> > - /var/log/dhcpcd.log shows discover signal sent, but fails to connect
> > after 20 seconds, every time, every network.
> > - when dhcpcd stops after failing to connect wlan0 has been brought down
> > by dhcpcd.
>
> > I don't have any sort of software firewall that could be messing things up
> > and I cannot seem to figure out where to go to next in my troubleshooting.
>
> Does manually configuring an address in your subnet work?  For example:
>
> # ifconfig wlan0 192.168.0.101 netmask 255.255.255.0 up
>
> If manual works, and there are dhcp client systems on your LAN and do
> they correctly get dhcp ip + resolver + gateway addresses?
>
> Is the dhcp server a wireless router / WAP or ISP?
>
> Cheers,

From: Mark Madsen on
On Tue, 09 Dec 2008 15:24:35 -0800, Larry Gagnon wrote:

> I have been given a 5 year old Acer Aspire 1355LCi laptop and have
> loaded Slack 12.0. Most stuff works fine except wireless and suspend to
> RAM. In fact, most of the wireless system works except getting a dhcp IP
> address.

When messing with wireless connections, it has often been my experience
that the DHCP client can be sensitive to the precise timings used by the
wireless stack. As a result, dhclient will sometimes work where dhcpcd
does not, and vice versa.

Also, one sometimes gets different results with different timeouts. I
had an RT2570 USB stick that could reliably get an IP address with

dhcpcd -t 15 rausb0,

but not with

dhcpcd rausb0.

Bizarre but true.

The simplest would be to try dhclient in place of dhcpcd and see what
happens, the next simplest would be to mess with the dhcpcd timeouts.
From: lagagnon on


Larry Gagnon wrote:
> I have been given a 5 year old Acer Aspire 1355LCi laptop and have loaded
> Slack 12.0. Most stuff works fine except wireless and suspend
> to RAM. In fact, most of the wireless system works except getting a dhcp
> IP address. So I need some help. Here is the wireless info:


OK - I have finally solved "part" of my wireless issue from 3 days ago
- I can now connect to one of my wireless routers upstairs (the
problem was my silliness not setting the channel correctly). The
downstairs wireless router worked (as set up below) with another
device but not my notebook. The downstairs router is piggybacked onto
a LAN port on the upstairs router - here is the topology:

Upstairs (D-Link DI-524)
========
SSID aaa, channel auto, mix mode, wep, dynamic IP address, hostname
DI-524, LAN: 192.168.0.2, DHCP server enabled

Downstairs (D-Link DI-524 into LAN port of above router)
==========
SSID bbb, channel 4, mix mode, wep, dynamic IP address, hostname
DI-524a, LAN: 192.168.0.3, DHCP disabled.

What fails is trying to get dhcp through the downstairs router. It
should pick up DHCP from the upstairs router but is not. What should
the "iwconfig" statement look like or should I set up the downstairs
router differently?

Any help greatly appreciated.

Larry

> For direct email remove fake.