Re: Gateway address problem

2005-10-15 Thread antongiulio05
> > # cat /etc/resolv.conf
> > search
> > #nameserver 192.168.1.1
> > nameserver 62.211.69.150
> > 
> > Do you know how to make "automatized" all at boot (wlan up)?
> 
> Normally on the dhcp server in dhcpd.conf:
> 
> option domain-name-servers  62.211.69.150, 192.168.1.1;
> 
> I am using dhcp3 , so this file is /etc/dhcp3/dhcpd.conf
> 
> If you only connect wireless to this server, you can also do it on the
> client in /etc/dhclient.conf:
> 
> prepend domain-name-servers 62.211.69.150;
> 
> but this way when you use another server it could be a very unhelpfull
> DNS.

Sorry, my bad explain. When I start my system /etc/resolv.conf remain same 
without change nothing in dhcp.conf.
However, every time I must do:

# iwconfig wlan0 essid NODE-NAME
# dhcpd wlan0

and all works. But, how can I automatize two commands above?

Giulio


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Gateway address problem

2005-10-15 Thread loos
Em Sáb, 2005-10-15 às 17:59 +0200, antongiulio05 escreveu:
> > > Have you any idea?
> > 
> > Do you have a functional DNS on your Gateway?
> > Try setting up other nameserver, there can be up to 3 in your
> > resolv.conf (even far away ones)
> 
> Thanks Michel I have just changed my DNS address and it works:)
> 
> # cat /etc/resolv.conf
> search
> #nameserver 192.168.1.1
> nameserver 62.211.69.150
> 
> Do you know how to make "automatized" all at boot (wlan up)?

Normally on the dhcp server in dhcpd.conf:

option domain-name-servers  62.211.69.150, 192.168.1.1;

I am using dhcp3 , so this file is /etc/dhcp3/dhcpd.conf

If you only connect wireless to this server, you can also do it on the
client in /etc/dhclient.conf:

prepend domain-name-servers 62.211.69.150;

but this way when you use another server it could be a very unhelpfull
DNS.

Michel.





Re: Gateway address problem

2005-10-15 Thread antongiulio05
> > Have you any idea?
> 
> Do you have a functional DNS on your Gateway?
> Try setting up other nameserver, there can be up to 3 in your
> resolv.conf (even far away ones)

Thanks Michel I have just changed my DNS address and it works:)

# cat /etc/resolv.conf
search
#nameserver 192.168.1.1
nameserver 62.211.69.150

Do you know how to make "automatized" all at boot (wlan up)?

Giulio


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Gateway address problem

2005-10-14 Thread antonio giulio
Hi,

I have setted my wireless connection and now it seems working. However
there is a strange problem: with firefox I can browse every site
normally, but when I try to download emails (sylpheed) or update
repository (apt-get and synaptics), they can't start to download
(remain blocked)... I suppose it's a gateway problem.

I active my wireless-connection via dhcp:

# dhclient wlan0

and

# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
192.168.1.0 *   255.255.255.0   U 0  00 wlan0
default mygateway1.ar7  0.0.0.0 UG0  00 wlan0

# cat /etc/resolv.conf
search
nameserver 192.168.1.1

If I comment:

# cat /etc/resolv.conf
search
#nameserver 192.168.1.1

Firefox continues to work, but sylpheed etc. soon show "connection failed".

Have you any idea?

Thanks,
Giulio