Re: activating an unconfigured interface using /etc/network/interfaces...?
Complained, but worked: dumb:~# ifup eth1 SIOCSIFNETMASK: Cannot assign requested address dumb:~# ifconfig eth1 Link encap:Ethernet HWaddr 00:03:47:08:A5:44 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:133345 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:76747137 (73.1 MiB) TX bytes:0 (0.0 b) Interrupt:10 Base address:0x8000 ... Thanks tons! Matthew Keegan Quinn wrote: Hello Matthew, On Wed, Jul 23, 2003 at 10:34:32PM -0700, Matthew Whitworth wrote: I have a dual-homed host spanning two networks and I would like to leave one of its interfaces unconfigured so that I can use libpcap applications on that network unobserved. I can do this using the command string "ifconfig eth1 0.0.0.0 up", but I was wondering if there was a way to do this using the /etc/network/interfaces file and the ifup/ifdown commands. If there is, I can't seem to get the syntax. I use the following syntax, to bring up a MiniPCI wireless network interface with no address, so it can be added to a bridge. Different purpose but same idea, I think. auto wlan0 iface wlan0 inet static address 0.0.0.0 netmask 255.255.255.254 Nothing actually gets added to the routing table, AFAICT, but it's necessary to specify a netmask to stop ifupdown from complaining. HTH, - Keegan
Re: activating an unconfigured interface using /etc/network/interfaces...?
Complained, but worked: dumb:~# ifup eth1 SIOCSIFNETMASK: Cannot assign requested address dumb:~# ifconfig eth1 Link encap:Ethernet HWaddr 00:03:47:08:A5:44 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:133345 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:76747137 (73.1 MiB) TX bytes:0 (0.0 b) Interrupt:10 Base address:0x8000 ... Thanks tons! Matthew Keegan Quinn wrote: Hello Matthew, On Wed, Jul 23, 2003 at 10:34:32PM -0700, Matthew Whitworth wrote: I have a dual-homed host spanning two networks and I would like to leave one of its interfaces unconfigured so that I can use libpcap applications on that network unobserved. I can do this using the command string "ifconfig eth1 0.0.0.0 up", but I was wondering if there was a way to do this using the /etc/network/interfaces file and the ifup/ifdown commands. If there is, I can't seem to get the syntax. I use the following syntax, to bring up a MiniPCI wireless network interface with no address, so it can be added to a bridge. Different purpose but same idea, I think. auto wlan0 iface wlan0 inet static address 0.0.0.0 netmask 255.255.255.254 Nothing actually gets added to the routing table, AFAICT, but it's necessary to specify a netmask to stop ifupdown from complaining. HTH, - Keegan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: activating an unconfigured interface using /etc/network/interfaces...?
Hello Matthew, On Wed, Jul 23, 2003 at 10:34:32PM -0700, Matthew Whitworth wrote: > I have a dual-homed host spanning two networks and I would like to leave > one of its interfaces unconfigured so that I can use libpcap > applications on that network unobserved. I can do this using the > command string "ifconfig eth1 0.0.0.0 up", but I was wondering if there > was a way to do this using the /etc/network/interfaces file and the > ifup/ifdown commands. If there is, I can't seem to get the syntax. I use the following syntax, to bring up a MiniPCI wireless network interface with no address, so it can be added to a bridge. Different purpose but same idea, I think. auto wlan0 iface wlan0 inet static address 0.0.0.0 netmask 255.255.255.254 Nothing actually gets added to the routing table, AFAICT, but it's necessary to specify a netmask to stop ifupdown from complaining. HTH, - Keegan pgpo2dfsYSj2M.pgp Description: PGP signature
Re: activating an unconfigured interface using /etc/network/interfaces...?
Hello Matthew, On Wed, Jul 23, 2003 at 10:34:32PM -0700, Matthew Whitworth wrote: > I have a dual-homed host spanning two networks and I would like to leave > one of its interfaces unconfigured so that I can use libpcap > applications on that network unobserved. I can do this using the > command string "ifconfig eth1 0.0.0.0 up", but I was wondering if there > was a way to do this using the /etc/network/interfaces file and the > ifup/ifdown commands. If there is, I can't seem to get the syntax. I use the following syntax, to bring up a MiniPCI wireless network interface with no address, so it can be added to a bridge. Different purpose but same idea, I think. auto wlan0 iface wlan0 inet static address 0.0.0.0 netmask 255.255.255.254 Nothing actually gets added to the routing table, AFAICT, but it's necessary to specify a netmask to stop ifupdown from complaining. HTH, - Keegan pgp0.pgp Description: PGP signature
activating an unconfigured interface using /etc/network/interfaces...?
I have a dual-homed host spanning two networks and I would like to leave one of its interfaces unconfigured so that I can use libpcap applications on that network unobserved. I can do this using the command string "ifconfig eth1 0.0.0.0 up", but I was wondering if there was a way to do this using the /etc/network/interfaces file and the ifup/ifdown commands. If there is, I can't seem to get the syntax. Thanks, Matthew
activating an unconfigured interface using /etc/network/interfaces...?
I have a dual-homed host spanning two networks and I would like to leave one of its interfaces unconfigured so that I can use libpcap applications on that network unobserved. I can do this using the command string "ifconfig eth1 0.0.0.0 up", but I was wondering if there was a way to do this using the /etc/network/interfaces file and the ifup/ifdown commands. If there is, I can't seem to get the syntax. Thanks, Matthew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]