Bug#406114: Installer netinst needs ping and better ifconfig

2007-01-08 Thread Claus Fischer
Package: installation-reports

Boot method:   CD
Image version: RC1 netinst  (current as of 2006-01-06)
Date:  2001-01-06
Processor: Intel Pentium 4
RAM:   1 GB
Disks: Two ATA IDE disks



Summary: Debian installer netinst image should have a ping,
 and an ifconfig that can set the hardware MAC address


Note: I have also filed a bug with busybox, as the
ifconfig feature is probably missing from busybox' ifconfig.



For a successful network install in an environment where the
router expects to see a certain MAC address (as my cable modem
provider does), it is necessary to set the hardware MAC address
of the network card. (Or not install Debian during the holidays
and wait for a possibility to let the ISP switch the expected MAC).

Also, a ping command to make sure the connection is established
is highly desirable.

Since Debian is mainly focussed on network installs, and is
generally very good at that, I think that those two features
are missing from the netinst image.

Regards,

Claus


-- 
Claus Fischer [EMAIL PROTECTED]
http://www.clausfischer.com/


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



Bug#406114: Installer netinst needs ping and better ifconfig

2007-01-08 Thread Geert Stappers
Op 08-01-2007 om 21:26 schreef Claus Fischer:
 
 Note: I have also filed a bug with busybox, as the
 ifconfig feature is probably missing from busybox' ifconfig.

That is http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=406108

 Also, a ping command to make sure the connection is established
 is highly desirable.

The tool wget is available, it can be abused as ping.

Have a look at this screenshot
bahrain:~
# ifconfig eth0
eth0  Link encap:Ethernet  HWaddr 00:03:93:45:92:B8
  inet addr:172.24.0.25  Bcast:172.24.0.63  Mask:255.255.255.192
  inet6 addr: fe80::203:93ff:fe45:92b8/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:7432 errors:0 dropped:0 overruns:0 frame:0
  TX packets:8832 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:2261327 (2.1 MiB)  TX bytes:804074 (785.2 KiB)
  Interrupt:41 Base address:0x800

bahrain:~
# wget http://172.24.0.25/index.html
--23:10:35--  http://172.24.0.25/index.html
   = `index.html'
Connecting to 172.24.0.25:80... failed: Connection refused.
bahrain:~
# ifdown eth0
There is already a pid file /var/run/dhclient.eth0.pid with pid 2495
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:03:93:45:92:b8
Sending on   LPF/eth0/00:03:93:45:92:b8
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 172.24.0.39 port 67
bahrain:~
# wget http://172.24.0.25/index.html
--23:10:54--  http://172.24.0.25/index.html
   = `index.html'
Connecting to 172.24.0.25:80... failed: Network is unreachable.
bahrain:~
# ifup eth0
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:03:93:45:92:b8
Sending on   LPF/eth0/00:03:93:45:92:b8
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
ip length 328 disagrees with bytes received 332.
accepting packet with data after udp payload.
DHCPOFFER from 172.24.0.39
DHCPREQUEST on eth0 to 255.255.255.255 port 67
ip length 328 disagrees with bytes received 332.
accepting packet with data after udp payload.
DHCPACK from 172.24.0.39
bound to 172.24.0.25 -- renewal in 27078 seconds.
bahrain:~
# wget http://172.24.0.25/index.html
--23:11:36--  http://172.24.0.25/index.html
   = `index.html'
Connecting to 172.24.0.25:80... failed: Connection refused.
bahrain:~
# wget http://172.24.0.39/index.html
--23:11:42--  http://172.24.0.39/index.html
   = `index.html'
Connecting to 172.24.0.39:80... failed: Connection refused.
bahrain:~
# wget http://172.24.0.42/index.html
--23:12:10--  http://172.24.0.42/index.html
   = `index.html'
Connecting to 172.24.0.42:80... failed: No route to host.
bahrain:~
#
/screenshot 


HtH
GSt


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