Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
airport - dhcpcd - resolv.conf
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
samson
n00b
n00b


Joined: 09 Nov 2002
Posts: 25
Location: Munich/Germany

PostPosted: Thu Jan 30, 2003 9:13 pm    Post subject: airport - dhcpcd - resolv.conf Reply with quote

Hi folks,

I got nearly everything up and running. But there is still a small problem about dhcpd in combination with airport-base-station (the old one).

When I bring up by eth1 (wireless) my /etc/resolv.conf looks like

Code:
nameserver 10.0.1.1
nameserver 10.0.1.1
nameserver 10.0.1.1
nameserver 10.0.1.1
nameserver 10.0.1.1


If I now connect to the internet via the mode-port I got the following results from different programs :

Code:
ping de.yahoo.com
ping: unknown host de.yahoo.com


but at the same time in another window

Code:
dnstracer de.yahoo.com
Tracing to de.yahoo.com via 10.0.1.1, timeout 15 seconds
10.0.1.1 (10.0.1.1) Got answer blaat 'de.yahoo.com' 'lng.yahoo.com'
blaat 'de.yahoo.com' 'lng.yahoo.com'
blaat 'de.yahoo.com' 'lng.yahoo.com'
blaat 'de.yahoo.com' 'lng.yahoo.com'
blaat 'de.yahoo.com' 'lng.yahoo.com'


but at that time in another window

Code:
lynx http://de.yahoo.com

Looking up de.yahoo.com
Unable to locate remote host de.yahoo.com.
Alert!: Unable to connect to remote host.

lynx: Can't access startfile http://de.yahoo.com/


I found some guys with the same problem via google.com but no solution. I just couldn't image that some of you, fellow ppc users, didn't had the same problem and solved it ;).

So I'm gracefull for every hint.

some add infos

Code:
netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
10.0.1.0        0.0.0.0         255.255.255.0   U        40 0          0 eth1
0.0.0.0         10.0.1.1        0.0.0.0         UG       40 0          0 eth1

-----

ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:30:65:FB:85:F4
          inet addr:212.172.84.40  Bcast:212.172.84.255  Mask:255.255.255.0
          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:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:41 Base address:0x6400

eth1      Link encap:Ethernet  HWaddr 00:30:65:09:95:A3
          inet addr:10.0.1.3  Bcast:10.0.1.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4730 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5046 errors:6 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:3641646 (3.4 Mb)  TX bytes:891278 (870.3 Kb)
          Interrupt:57

cat /etc/conf.d/net | grep eth
iface_eth0="212.172.84.40 broadcast 212.172.84.255 netmask 255.255.255.0"
#iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0"
#iface_eth0="dhcp"
#dhcpcd_eth0="..."
iface_eth1="dhcp"
dhcpcd_eth1="-t 10"
#alias_eth0="192.168.0.3 192.168.0.4"
#broadcast_eth0="192.168.0.255 192.168.0.255"
#netmask_eth0="255.255.255.0 255.255.255.0"
#gateway="eth0/212.172.84.1"

cat /etc/gentoo-release
Gentoo Base System version 1.4.2.5
Back to top
View user's profile Send private message
samson
n00b
n00b


Joined: 09 Nov 2002
Posts: 25
Location: Munich/Germany

PostPosted: Thu Jan 30, 2003 10:33 pm    Post subject: Reply with quote

add infos

/etc/init.d/net.eth0 stop
and ifconfig eth0 down

does not help.

I'm able to ping outside machines (on the internet) direct via the ip adr.
Back to top
View user's profile Send private message
samson
n00b
n00b


Joined: 09 Nov 2002
Posts: 25
Location: Munich/Germany

PostPosted: Fri Jan 31, 2003 12:30 am    Post subject: Reply with quote

strange what I saw via tcpdump from my other airport-enabled box .. mac os x ..

Code:

sudo tcpdump -i en1 ! port osu-nms
tcpdump: listening on en1
01:26:08.348529 10.0.1.9.32876 > 10.0.1.1.domain:  11438+ A? de.yahoo.com. (30) (DF)
01:26:08.453448 10.0.1.13.49313 > 10.0.1.1.domain:  51212+ PTR? 9.1.0.10.in-addr.arpa. (39)
01:26:08.464208 www-proxy.m2.srv.t-online.de.domain > 10.0.1.9.32876:  11438 2/5/1 CNAME[|domain]
01:26:08.465421 10.0.1.9 > www-proxy.m2.srv.t-online.de: icmp: 10.0.1.9 udp port 32876 unreachable [tos 0xc0]
01:26:08.703707 10.0.1.13.49313 > 10.0.1.1.domain:  48877+ PTR? 9.1.0.10.in-addr.arpa. (39)
01:26:08.731797 www-proxy.m2.srv.t-online.de.domain > 10.0.1.13.49313:  51212 NXDomain 0/1/0 (116)
01:26:08.734011 10.0.1.13.49313 > 10.0.1.1.domain:  11932+ PTR? 1.1.0.10.in-addr.arpa. (39)
01:26:08.811066 www-proxy.m2.srv.t-online.de.domain > 10.0.1.13.49313:  48877 NXDomain 0/1/0 (116)
01:26:08.830688 www-proxy.m2.srv.t-online.de.domain > 10.0.1.13.49313:  11932 NXDomain 0/1/0 (116)
01:26:09.832920 10.0.1.13.49313 > 10.0.1.1.domain:  18112+ PTR? 13.1.0.10.in-addr.arpa. (40)
01:26:09.941144 www-proxy.m2.srv.t-online.de.domain > 10.0.1.13.49313:  18112 NXDomain 0/1/0 (117)
01:26:13.315494 10.0.1.13.ipp > 10.0.1.255.ipp: udp 126
01:26:13.357382 10.0.1.9.32876 > 10.0.1.1.domain:  11438+ A? de.yahoo.com. (30) (DF)
01:26:13.470542 www-proxy.m2.srv.t-online.de.domain > 10.0.1.9.32876:  11438 2/5/0 CNAME[|domain]
01:26:13.471726 10.0.1.9 > www-proxy.m2.srv.t-online.de: icmp: 10.0.1.9 udp port 32876 unreachable [tos 0xc0]
01:26:14.315832 10.0.1.13.ipp > 10.0.1.255.ipp: udp 138
01:26:15.316148 10.0.1.13.ipp > 10.0.1.255.ipp: udp 104
01:26:18.369458 10.0.1.9.32876 > 10.0.1.1.domain:  11439+ A? de.yahoo.com. (30) (DF)
01:26:18.491198 www-proxy.m2.srv.t-online.de.domain > 10.0.1.9.32876:  11439 2/5/0 CNAME[|domain]
01:26:18.492376 10.0.1.9 > www-proxy.m2.srv.t-online.de: icmp: 10.0.1.9 udp port 32876 unreachable [tos 0xc0]
^C
48 packets received by filter
0 packets dropped by kernel


why i got those unreachable ?

btw:

Code:

iptables --list
Chain INPUT (policy ACCEPT)
Chain FORWARD (policy ACCEPT)
Chain OUTPUT (policy ACCEPT)


I'm totaly braindamaged now .. i go to sleep (1:30 AM here) - hopfully some hints are here when i get up in the morning ..

thx !
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum