--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: guessnet: test pppoe (and command) always fails
- From: Gustavo Noronha Silva <kov@debian.org>
- Date: Fri, 20 Jan 2006 20:29:35 -0200
- Message-id: <20060120222935.5664.31125.reportbug@localhost.localdomain>
Package: guessnet
Version: 0.38-1
Severity: important
Hey!
I have the following stuff in my interfaces file:
--- cut here
mapping eth0
script /usr/sbin/guessnet-ifupdown
map default: none
map timeout: 5
map verbose: true
iface nocable inet static
test missing-cable
iface home inet static
address 10.1.1.4
netmask 255.0.0.0
gateway 10.1.1.2
dns-search horta debian.org no-ip.org
dns-nameservers 10.1.1.1 127.0.0.1
test peer address 10.1.1.1 mac 00:0F:3D:EA:F0:E0
[... many more profiles ...]
iface mont-blanc inet ppp
test pppoe
provider dsl-provider
# please do not modify the following line
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
iface none inet dhcp
dns-search debian.org horta
dns-nameservers 127.0.0.1
--- cut here
Running guessnet with my network cable connected to the ADSL
concentrator gives this:
--- cut here
alface:~# guessnet --debug -i eth0 < /etc/network/interfaces
guessnet: 7 candidates found in input
guessnet: Guessnet 0.38 starting...
guessnet: Trying MII detection
guessnet: 7 candidate profiles
guessnet: Trying MII detection
guessnet: Initialized test subsystems
guessnet: Added "default" test none
guessnet: Default test is none
guessnet: Will test for link beat. If absent, will return nocable
guessnet: Trying MII detection
guessnet: Will check network home for IP address 10.1.1.1 (MAC 00:0f:3d:ea:f0:e0)
guessnet: Sending 10 ARP probes, 1 every second...
[... other profiles tested ...]
guessnet: Will use command '/usr/sbin/pppoe -I eth0 -A >/dev/null 2>&1' to test mont-blanc
guessnet: Starting command test subsystem
guessnet: Listen ARP
guessnet: Started tests
guessnet: 8 candidates
guessnet: run process command '/usr/sbin/pppoe -I eth0 -A >/dev/null 2>&1' pid: 6053
guessnet: Wait gave 0
guessnet: Wait gave 0
guessnet: Wait gave 0
[... many lines just like the above supressed ...]
none
alface:~#
--- cut here
The same happens if I try the command test using a variant of that
pppoe command it uses.
pppoe returns 0 and 1 correctly for 'works' and 'fails'. A sample
'works' run:
--- cut here
alface:~# pppoe -A -I eth0
Access-Concentrator: orbitel
Got a cookie: 3b 3d be 51 e5 1c a0 6d 2a c5 06 55 53 dc db 34 8d 06 00 00
AC-Ethernet-Address: 00:08:54:30:9d:53
--------------------------------------------------
alface:~# echo $?
0
--- cut here
Thanks!
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Versions of packages guessnet depends on:
ii libc6 2.3.5-12 GNU C Library: Shared libraries an
ii libgcc1 1:4.0.2-7 GCC support library
ii libnet1 1.1.2.1-2 library for the construction and h
ii libpcap0.7 0.7.2-7 System interface for user-level pa
ii libstdc++6 4.0.2-7 The GNU Standard C++ Library v3
guessnet recommends no packages.
-- no debconf information
--- End Message ---