From: Henry N. <Henry.Ne@Arcor.de> - 2008-02-26 19:50:00
|
Check your network step by step. - Is network usable from windows? Open a command prompt and type "ping sf.net" - Start coLinux. Is network still usable on windows side? Try "ping sf.net" on windows again. - Check eth0 parameters inside the running Linux. Type "ifconfig", you should see the settings for eth0: inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0 Other values would not run. Typicaly mistake would be the broadcast. - Check the route inside Linux, type "route -n" The last line must be: 0.0.0.0 10.0.2.2 ... eth0 - Try to get a web page with such simple command: "wget google.com" You should see HTTP request sent, awaiting response... 200 OK and finaly got the index.html file. - Last, I hope you we talk about "Debian 4.0" here? Mirrors for Debian 3.x must change to get updates. Please remove all lines from "/etc/apt/sources.list" and replace with: deb http://archive.debian.org/debian-archive woody main deb-src http://archive.debian.org/debian-archive woody main Abhrajit Datta wrote: > Now the error is different.It says connection timed out.What is the possible > cause,please tell. > Abhri > > ________________________________ > > From: Henry Nestler [mailto:Henry.Ne@Arcor.de] > Sent: Tue 2/26/2008 1:35 PM > To: Abhrajit Datta > Cc: col...@li... > Subject: Re: [coLinux-users] Problem with TAP win 32 adapter > > > > Abhrajit Datta wrote: >> Hi, >> >> I was trying to connect to internet via colinux.I installed the TAP win >> 32 adapter.During booting it shows that TAP is enabled and I can see the >> connection icon in connected state.But when I try to run the command >> apt-get update it gives the error "something wicked happened while >> resolving ...http://debian.org <http://debian.org/> etc... >> >> It gives a series of these errors and so I am unable to install any >> packages.I am a new colinux user so if someone knows the issue please help. > > SLiRP is better for your first use. Let TAP installed, you can use it > later as eth1 and fast host only access. > > Please use "eth0=slirp" in coLinux config. > Setup network eth0 inside running linux as described in wiki: > http://colinux.wikia.com/wiki/Network#Reconfigure_Network_Interface_On_the_Fly > > ifconfig eth0 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255 > route add default gw 10.0.2.2 > echo "nameserver 10.0.2.3" > /etc/resolv.conf > > For permanently store, setup SLiRP in Debians config file, see > http://colinux.wikia.com/wiki/Network#Debian > > # file: /etc/network/interfaces > auto eth0 > iface eth0 inet static > address 10.0.2.15 > network 10.0.2.0 > broadcast 10.0.2.255 > netmask 255.255.255.0 > gateway 10.0.2.2 > > -- > Henry N. -- Henry N. |