Hi there, I downloaded the VMWare image of the Perfect Setup (Debian) and opened it in the VMWare Player. When I try to connect to the internet (for example to apt-get install something), no connection is possible. In the settings I can change between Bridged, NAT or Host only - it makes no difference. Any hints anyone?
I guess you're using a different network. Our VMware images use the IP address 192.168.0.100, network 192.168.0.0, netmask 255.255.255.0, broadcast 192.168.0.255, gateway 192.168.0.1. You might have to adjust these settings in /etc/network/interfaces.
Okay, thanks. And now for a really stupid question. When I run ipconfig in my vista CMD I get a list of network connections but none of them list "broadcast" and the only one that lists a standard gateway is the connection to my router. Can you give me a hint on where to find the correct data to enter in network interfaces?
Your router's web interface should list all needed details. The network mask usually is 255.255.255.0.
The more I'm asking, the more idiotic I feel LOL. I'll post the network info of my router here and maybe you falko or someone else can give me a hint as to how to configure the /etc/network/interfaces ? Please bear with me though - I'm translating the stuff from German: LAN Router name: Speedport_W_700V IP-Address Router: 192.168.2.1 Subnetmask: 255.255.255.0 DHCP-Server: On Internet connection Subnetmask: 255.0.0.0 Gateway-Address: 217.0.118.22 Primary DNS-Server: 217.237.150.51 Secondary DNS-Server: 217.237.148.22 My setup is like this: 1 PC is connected to the router via LAN 1 PC is connected via WLAN (which is the PC I'm running the VMWare Workstation on) Just in case that's relevant. PS: I can't find the value for broadcast to be entered into the interfaces file.
Try this: IP: 192.168.2.100 Network: 192.168.2.0 Broadcast: 192.168.2.255 Network Mask: 255.255.255.0 Gateway: 192.168.2.1 This link can be of help in the future (it's very useful): www.subnetmask.info
Thank you very much. This is what my network interfaces file looks like: And here is what I get when I start the networking service: I'm sorry to be bugging you, but I really wanna get this to work and couldn't find help anywhere else. And thanks for the link - went straight to my favorites!
Hi Falko, sorry to be a pain, but it didn't help. I got the very same error during the reboot. Then when I ran /etc/init.d/networking I got the same error. I tried switching the VM settings between Bridge, NAT and Host. Always the same. I have another Debian Etch VM now and it works. But it gets the IP via DHCP, so that's different. Does it matter that my PC obtains its internal IP from the router via DHCP? You can probably tell by now that I'm a complete and utter noob when it comes to networks.
Can you post the outputs of ifconfig and route -nee of that VM? That might help us to find the correct values for the other VM. No.
Sure thing. ifconfig: Code: server1:~# ifconfig eth1 Link encap:Ethernet HWaddr 00:0C:29:56:82:85 inet addr:192.168.75.128 Bcast:192.168.75.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fe56:8285/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:184 errors:0 dropped:0 overruns:0 frame:0 TX packets:193 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:111370 (108.7 KiB) TX bytes:19549 (19.0 KiB) Interrupt:185 Base address:0x1080 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:8 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:560 (560.0 b) TX bytes:560 (560.0 b) server1:~# route -nee: Code: server1:~# route -nee Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface MSS Window irtt 192.168.75.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 0 0 0 0.0.0.0 192.168.75.2 0.0.0.0 UG 0 0 0 eth1 0 0 0 server1:~#
Try this: IP: 192.168.75.100 Network: 192.168.75.0 Broadcast: 192.168.75.255 Network Mask: 255.255.255.0 Gateway: 192.168.75.2
I'm afraid the result is the same. But I guess this is getting beyond the scope of the normal support anyone can expect. So I think I'll just leave it for now. I will just use the other Debian VM I have and I'll just install all the stuff that is described in the tutorial. Thanks falko.
When you set up a server the next time, before you assign a static IP address to it, check its current (working) settings with ifconfig and route -nee; that should give you enough hints for the static configuration.
I didn't have any trouble setting up my server according to the perfect setup tutorial. It's just that I had downloaded the VM-image that went with the tutorial. Because I wanted to use it to make the Wordpress tutorial I sent in to HTF. In the end I just ended up using my server for the tutorial. And I've just managed to get it to run. I had to re-install Windows (never again will I install Vista OS X skin on Vista LOL) and (obviously) VMWare. So I decided to re-download the VM-image from here and also another VM-image with a working Debian Etch with a working network connection. So I ran the route -nee command and suddenly a different IP address appeared. 192.68.26.2 So I ran that through the site you told me about here and IT WORKS!!! Also I changed eth0 to eth1 in /etc/network/interfaces and it worked great. Thanks for your help falko! Vielen Dank.