You are not logged in.

#1 2009-01-20 22:01:12

kevin89
Arch Linux f@h Team Member
From: Netherlands
Registered: 2007-03-14
Posts: 218

Wireless trouble

Hello!

I'm trying to set-up wireless at my home.
This is the situation:

My pc has a wired connection to the modem, which provides it's internet.
The modem is also attached to a router, which is set-up to broadcast a WEP encrypted signal.

I can internet just fine on my pc...no problems here.
On my EEE pc however, I can't access the internet. I _can_ access the router (192.168.1.1) but I can't visit any other addresses.
I already tried replugging the modem & router, didn't work.
I'm using iwconfig & dhcpcd to connect to the network on my laptop.

The modem is a cheap-ass thing which comes standard and the router is a Linksys Cisco.

Am I missing something?

Offline

#2 2009-01-20 22:57:09

NeoXP
Member
From: MS Matrix
Registered: 2009-01-09
Posts: 206
Website

Re: Wireless trouble

I've got my wireless up following the wiki about wicd.

http://wiki.archlinux.org/index.php/Wicd

I didn't have a problem since then with my wireless connection.


Arch x86_64 on HP 6820s and on HP nx9420. Registered Linux User 350155, since 24-03-2004
"Everyone said that it could not be done, until someone came along who didn't know that."

Offline

#3 2009-01-20 23:13:41

kevin89
Arch Linux f@h Team Member
From: Netherlands
Registered: 2007-03-14
Posts: 218

Re: Wireless trouble

With wicd I'm encountering the exact same problem..
wicd-client lists my network, I succesfully connect to it -> Only able to browse to my router.

Thanks for your input!

Offline

#4 2009-01-20 23:55:42

tsv
Member
From: UK
Registered: 2008-12-03
Posts: 71
Website

Re: Wireless trouble

Assuming you're currently getting DNS dynamically, try setting them manually? Maybe set it up with netcfg?

Sorry I can't be of more help, but having local access only sounds like it could be a DNS issue. But maybe not!

Offline

#5 2009-01-21 01:46:57

kevin89
Arch Linux f@h Team Member
From: Netherlands
Registered: 2007-03-14
Posts: 218

Re: Wireless trouble

@tsv: I'm quite the noob at this area, how do I find out what values I need to enter for IP,gateway,DNS etc? (googling didn't help me much, but it's late..could be me!)

Offline

#6 2009-01-21 02:35:13

aglarond
Member
From: Texas, USA
Registered: 2008-11-20
Posts: 129

Re: Wireless trouble

A couple of possible things come to mind right off.

1. No default gateway:
In a terminal type

# netstat -r

It should give you something like:

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.0.0     *               255.255.255.240 U         0 0          0 eth0
default         192.168.0.7     0.0.0.0         UG        0 0          0 eth0

If not, edit your /etc/rc.conf file and make sure the following lines are there.

gateway="default gw 192.168.1.1"
ROUTES=(gateway)

2. No DNS servers defined.

#cat /etc/resolv.conf

Should show you something like:

# /etc/resolv.conf

nameserver 208.67.222.222
nameserver 208.67.220.220

# End of file

Those addresses are for OpenDNS, which you can use. Your addresses might be different, though.

-mS

Offline

#7 2009-01-21 08:11:24

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: Wireless trouble

Until two years ago, my ISP (Telenet - Belgium) only assigned 1 IP-address via every modem. So if you are requesting two IP-addresses from your ISP (one for the router and one for your computer), this might be the cause. The easiest solution is then to just attach your pc to the router and not directly to the modem.

Zl.

Offline

#8 2009-01-21 11:18:07

kevin89
Arch Linux f@h Team Member
From: Netherlands
Registered: 2007-03-14
Posts: 218

Re: Wireless trouble

@aglarond:
netstat -r gives me the correct output. Also the DNS servers are defined in /etc/resolv.conf.

@zenlord:
That sounds like it could be the problem. However, it's not possible to connect my PC directly to the router. This is because of the setup:
The internet cable is connected to the modem, it can't be plugged into the router. An ethernet cable is plugged in the internet port from the router to a LAN port on the modem. (this is as described in the user manual from the router).


Thanks for all the suggestions!

Offline

#9 2009-01-21 11:20:09

mcover
Member
From: Germany
Registered: 2007-01-25
Posts: 134

Re: Wireless trouble

Like zenlord mentioned, attach the modem to the router. I don't understand how you could connect your modem to your PC and the router at the same time. Unless the modem has built-in router it might work, but if its a cheap one - definately not. You need to attach the modem to the modem-port of the router and then plug in your login information/static ip settings into the router for establishing the broadband connection.

This is not a linux problem.

You could only connect the modem to the PC and then connect the PC to the router as well. Then setup NAT on the PC to forward the internet to wireless-router subnet (i.e. your EEE for example). The EEE would have to be setup accordingly (with gateway your PC's IP address) - or if you feel really daring, setup a dhcp server on your PC. But I think that would be overkill for your case.

However, if your router has a modem-port, stick with that solution.

Offline

#10 2009-01-22 02:52:09

fumbles
Member
Registered: 2006-12-22
Posts: 246

Re: Wireless trouble

mcover wrote:

Then setup NAT on the PC to forward the internet to wireless-router subnet (i.e. your EEE for example).

zenlord wrote:

Until two years ago, my ISP (Telenet - Belgium) only assigned 1 IP-address via every modem. So if you are requesting two IP-addresses from your ISP (one for the router and one for your computer), this might be the cause. The easiest solution is then to just attach your pc to the router and not directly to the modem.

Given that he is using the router AND has assigned a PRIVATE ip address to his computer (192.168.1.*), I would think this is sorted. You will find that most ISP around the world will only give you one IP address and charge for haveing any more.

Try pinging/browsing/traceroute 66.249.89.99 (it's google). It could very well be a problem with your DNS.

Otherwise what sort of signal strength are you getting on your laptop? It could be because it is just dropping out everytime.

Offline

#11 2009-01-22 13:59:59

kevin89
Arch Linux f@h Team Member
From: Netherlands
Registered: 2007-03-14
Posts: 218

Re: Wireless trouble

Thanks for all the lovely suggestions! I will have a look later, since I can't access all my stuff at the moment..

Offline

Board footer

Powered by FluxBB