[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wifi network connection



should not resolv.conf and gw point to the address of the router?  I would set 
up the interface on the desktop manually just to test the connection.  
You can enter the DNS provided by the ISP into resolv.conf or use the router 
as the DNS.

Something along the lines of:

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.2.x
netmask 255.255.255.0
gateway 192.168.2.1



On Sunday 23 December 2007 21:43:16 hce wrote:
> Hi,
>
> I am doing an experiment to set up a home wifi network. The setup is
> descripbed as follows:
>
> I have a laptop running Debian connected to the ISP via phone line
> (ppp), the laptop has also an ethernet port, I set it to 192.168.5.1
> which connectes to a wifi router at Internet port. The wifi local LAN
> IP address  to 192.168.2.1. The nameserver in laptop is assigned by
> ISP 139.134.2.190 and the default gw in laptop does not have an IP
> address, but the iface = ppp0.
>
> I have another desktop connect tot he wifi LAN via udhcpc, it gets the
> ip address 192.168.0.252 from DHCP server of wifi route. On the
> desktop, the nameserver in resolv.conf sets to 192.168.0.1 and default
> gw sets to 192.168.0.1. But, the desktop could not connect to the
> internet. Any help what I was missing?
>
> Thank you.
>
> Jim



Reply to: