Quote:
|
Originally Posted by till
Please post the output of:
ifconfig
1) Thats ok.
2) The script is absolutely ok and the prompt waits for your input. If you dont believe me, have a look at the php manual and check which functions i used  What you describe is a common problem in vmware. If you work from within the vmware console window and use the vmware server software, it happens regularily that a pressed key is recognized more then once by the vm.
|
Well, I only wished it had been that simple. I would have been quite content to blush and look embarrassed for having neglected such a possibility, with which I am quite familiar (being a very enthusiastic VMware user for the past 4 or 5 years...). Unfortunately, it appears the explanation is not that simple, as I get the same result when I run network_setup through SSH.
Here is the situation before I run the script:
======= 'ifconfig' BEFORE =========
eth0 Link encap:Ethernet HWaddr 00:0C:29:EB:5C:F2
inet addr:192.168.123.136 Bcast:192.168.123.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:feeb:5cf2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:591 errors:0 dropped:0 overruns:0 frame:0
TX packets:451 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:185884 (181.5 KiB) TX bytes:40672 (39.7 KiB)
Interrupt:177 Base address:0x1400
lo Link encap:Local Loopback
(Omitting the rest of the loopback interface)
=== /etc/network/interfaces BEFORE ===
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
address 192.168.123.136
netmask 255.255.255.0
network 192.168.123.0
broadcast 192.168.123.255
gateway 192.168.123.64
========= END =========
And here is the actual running of the script:
======= BEGIN =========
host1:/etc/network# network_setup
Please select your language [de/en] / Bitte wählen Sie Ihre Sprache aus [de/en]: en
Please enter your desired IP address (e.g. 192.168.0.100): Please enter your netmask (e.g. 255.255.255.0): Please enter your gateway (e.g. 192.168.0.1):
IP Address:
Netmask: 0.0.0.0
Gateway:
Network: 0.0.0.0
Broadcast Address: 255.255.255.255
The network configuration is going to be changed now.
Please wait a moment.
Afterwards you can access the ISPConfig administration interface in your browser under
https://:81
========= END =========
And finally, here is the situation after running the script:
======= 'ifconfig' AFTER =========
eth0 Link encap:Ethernet HWaddr 00:0C:29:EB:5C:F2
inet addr:192.168.123.136 Bcast:192.168.123.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:feeb:5cf2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1237 errors:0 dropped:0 overruns:0 frame:0
TX packets:534 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:335454 (327.5 KiB) TX bytes:51772 (50.5 KiB)
Interrupt:177 Base address:0x1400
lo Link encap:Local Loopback
(Omitting the rest of the loopback interface)
=== /etc/network/interfaces AFTER ===
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
address
netmask 0.0.0.0
network 0.0.0.0
broadcast 255.255.255.255
gateway
========= END =========
So as you can see, it's not just the odd VMware console behavior at play here, since it happens just the same via SSH (from a Windows desktop using Putty-SSH).
Going to bed now (it's 04h32 here....). I'll be back later.
Thanks for responding!
Recent comments
19 hours 45 min ago
21 hours 33 min ago
1 day 10 hours ago
1 day 15 hours ago
1 day 19 hours ago
1 day 21 hours ago
2 days 11 hours ago
2 days 11 hours ago
2 days 16 hours ago
2 days 23 hours ago