Enrico Zini enrico-at-enricozini.org |bugs-debian| wrote: > Could you please add 'map debug: true' and send me both the output of > ": | guessnet -i -v" and the one of guessnet called from ifup?
Sure. I have attached the anonymized command output. I do not notice any anomalies apart from the name for the default test (which I have set in /e/n/i to "unknown"). Before pinging you I have tried different configurations (don't remember exactly which ones), all with the same result (no difference noticable between direct invocation and invocation via ifup). I have instrumented several network scripts, no luck however. > It looks like a problem in the parser: in the original report, guessnet > invoked alone said: > guessnet: 2 candidate profiles > but invoked from ifup said: > guessnet: 1 candidate profiles I do not have this problem. Perhaps you are right, and this is a problem in the parser, and I experience a totally different problem. But it could also be that the original reporter experienced two distinct problems and I experience only one of them. It's a strange bug, I currently rely on static configuration. Bye, Thomas
$ ifup eth0 guessnet: 4 candidates found in input guessnet: Guessnet 0.36 starting... guessnet: Trying MII detection guessnet: 4 candidate profiles guessnet: Trying MII detection guessnet: Initialized test subsystems guessnet: Added "default" test unknown guessnet: Default test is unknown guessnet: Will check network A for IP address Ahost (MAC a) guessnet: Starting peer test subsystem guessnet: Sending 10 ARP probes, 1 every second... guessnet: Will check network B for IP address Bhost (MAC b) guessnet: Sending 10 ARP probes, 1 every second... guessnet: Will check network C for IP address Chost (MAC c) guessnet: Sending 10 ARP probes, 1 every second... guessnet: Will check network dhcpnet for DHCP service guessnet: Starting dhcp test subsystem guessnet: Sending 5 DHCP probes, 1 every 2 seconds... guessnet: Started tests guessnet: 5 candidates guessnet: Got ARP reply from Ahost a guessnet: ARP reply from Ahost a matches # interface is up $ : | guessnet -i -v --debug guessnet: 4 candidates found in input guessnet: Guessnet 0.36 starting... guessnet: Trying MII detection guessnet: 4 candidate profiles guessnet: Trying MII detection guessnet: Initialized test subsystems guessnet: Added "default" test none guessnet: Default test is none guessnet: Will check network A for IP address Ahost (MAC a) guessnet: Starting peer test subsystem guessnet: Sending 10 ARP probes, 1 every second... guessnet: Will check network B for IP address Bhost (MAC b) guessnet: Sending 10 ARP probes, 1 every second... guessnet: Will check network C for IP address Chost (MAC c) guessnet: Sending 10 ARP probes, 1 every second... guessnet: Will check network dhcpnet for DHCP service guessnet: Starting dhcp test subsystem guessnet: Sending 5 DHCP probes, 1 every 2 seconds... guessnet: Started tests guessnet: 5 candidates guessnet: Got ARP reply from Ahost a guessnet: ARP reply from Ahost a matches A # network interface is still down