3D Illusionist
- Joined
- Apr 11, 2010
- Messages
- 931
- Reaction score
- 407
I am having a bit of trouble enabling internet in my virtual box.
my vbox config is this
and internet connection sharing is enabled
I am running this on a Windows Vista on a router.
I cant seem to get internet access and pinging outside ips says host is unreachable.
pinging my host ip takes forever and doesnt return anything.
any help would be appreciated thx.:
edit the subnet mask of vbox is 255.255.255.0 idk why it was set to 255.255.0.0 like in the screenshot.
I did that already. I put it at the bottom of my post I just didnt update the picture. I have updated the picture now however.
thx anyway.
Im gonna try windows bridging again
i can ping my router but when i try and ping outside like google
it doesnt return anything. It doesnt return thats its found it or that it couldnt find it. It just keeps searching.
change your VBOX Network Interface /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address YOUR VBOX IP
netmask YOUR NETMASK
network 172.16.0.0 <<< Always Fill This XXX.XXX.0.0
broadcast YOUR NEWORK BRODCAST
gateway YOUR GATEWAY IP TO INTERNET
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers YOUR DOMAIN IP, IF YOU USE DOMAIN
dns-search YOUR DOMAIN NAME, IF YOU USE DOMAIN
-----------------------------------------------------------------
and don't forget to Replace the IPs with your current addresses except the lines with 0.0.0.0
/PWServer/gacd/gamesys.conf
/PWServer/gamed/gmserver.conf
/PWServer/gamed/gs.conf
/PWServer/gamed/gsrollback.conf
/PWServer/gamedbd/cashstat.conf
/PWServer/gamedbd/gamesys.conf
/PWServer/gdeliveryd/gamesys.conf
/PWServer/gfactiond/gamesys.conf
/PWServer/glinkd/gamesys.conf
/PWServer/logservice/logservice.conf
/PWServer/uniquenamed/gamesys.conf
/etc/authd.conf
/etc/gmopgen.xml
/etc/GMserver.conf
/etc/hosts
/etc/iweb.conf
I am using you virtualbox server.
here is my current interfaces
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.10 this is right
netmask 255.255.255.0 this is right
network 192.168.0.0 I assume this is right cos it the network Im on.
broadcast 192.168.0.255 Im guessing this is right
gateway 192.168.0.50? <~ here do i put my router ip since it is my gateway for my host pc?
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 192.168.0.50? <~ not quite sure what to put here. Im guessing nothing since I dont have a domain name. or do I put my gateway here which is my router ip?
dns-search YOUR DOMAIN NAME, IF YOU USE DOMAIN
Im not to good when it comes to networking.
thx for the help.
---------- Post added at 11:18 AM ---------- Previous post was at 10:21 AM ----------
Thx hrace it worked
---------- Post added at 11:33 AM ---------- Previous post was at 11:18 AM ----------
I get replys when i ping external site like google but I still cannot find the no-ip package or update apt-get :blink:
Thanks everyone I have a working public server now.
I just needed to open the ports on my router and it works now.:
okay, i read the whole topic.. but something is still not clear for me
now i made a no-ip acc and have now an ip and domainname.
now,
its
You must be registered to see links
95.113.195.111
winscp to server:
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.10
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255 <<< change her to 95.113.195.111??
gateway 192.168.0.50 << and here?
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 95.113.195.111 << right?
dns-searchYou must be registered to see links<<< right?
and which port do u open in ur router?
i also use a router
apt-get noip2
okay, i read the whole topic.. but something is still not clear for me
now i made a no-ip acc and have now an ip and domainname.
now,
its
You must be registered to see links
95.113.195.111
winscp to server:
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.10
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255 <<< change her to 95.113.195.111??
gateway 192.168.0.50 << and here?
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 95.113.195.111 << right?
dns-searchYou must be registered to see links<<< right?
and which port do u open in ur router?
i also use a router
Your interfaces reflects your network configuration. If your vbox is connected to your router it is correct and does not need changing.
Have you installed no-ip on vbox?
Code:apt-get noip2
Basically you only need to Register a domain name, establish internet in vbox and install and setup no-ip.
why do you will install no-ip ? " vbox has no internet connection " ?!?
okay, i try to install no-ip on unbutu in vbox since yesterday..
i m very noob in linux system, i dont get it o.o
and my ubuntu in vbox has no internet connection,so i cant do an update or something like this..
is there another way do install noip2? i try it with winSCP copy the install folder into ubuntu, downloaded it from the ubuntu website. but i dont get it...
i follow the readme too but. however, i m very noob with linux o.o
and i follow the instructions to how to make internet in vbox ubuntu.. no success...
i m trying it since 2 days now..
apt-get update
apt-get install noip2
You will need internet connection in vbox.
step 1. Can you ping your router?
Yes goto step 2.
no edit your interfaces to relect your router and make sure you are using bridged mode and try step 1 again.
Step 2. Can you ping and external site?
Yes goto step 3.
no are you sure your interfaces if right and there is no firewalls or anything blocking you.
Step 3. Can you ping the ubuntu repositories?
Yes goto step 4.
no edit you resolv.conf to reflect your router ip
Step 4. TypeCode:apt-get update apt-get install noip2
If all goes successfully no-ip will be downloaded.
Setup no-ip and port forward your router.
make bridge networking - its better -> you must change all ip to 192.168.178.x -> step 4
---------- Post added at 12:27 AM ---------- Previous post was at 12:21 AM ----------
files are needed new ip -> http://forum.ragezone.com/5602151-post45.html
make bridge networking - its better -> you must change all ip to 192.168.178.x -> step 4
---------- Post added at 12:27 AM ---------- Previous post was at 12:21 AM ----------
files are needed new ip -> http://forum.ragezone.com/5602151-post45.html