From: Abhrajit D. <Abh...@mi...> - 2008-02-26 05:53:51
|
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 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. Regards Abhri DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. E-mail may contain viruses. Before opening attachments please check them for viruses and defects. While MindTree Consulting Limited (MindTree) has put in place checks to minimize the risks, MindTree will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. MindTree reserves the right to monitor and review the content of all messages sent to or from MindTree e-mail address. Messages sent to or from this e-mail address may be stored on the MindTree e-mail system or else where. |
From: Henry N. <Hen...@Ar...> - 2008-02-26 08:02:54
|
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 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. |
From: Abhrajit D. <Abh...@mi...> - 2008-02-26 08:56:44
|
I have set slirp now as instructed. But still the "something wicked happened" errors are showing when I type apt-get update. abhri -----Original Message----- From: Henry Nestler [mailto:Hen...@Ar...] Sent: Tuesday, February 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 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_Fl y 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. DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. E-mail may contain viruses. Before opening attachments please check them for viruses and defects. While MindTree Consulting Limited (MindTree) has put in place checks to minimize the risks, MindTree will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. MindTree reserves the right to monitor and review the content of all messages sent to or from MindTree e-mail address. Messages sent to or from this e-mail address may be stored on the MindTree e-mail system or else where. |
From: Henry N. <Hen...@Ar...> - 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:Hen...@Ar...] > 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. |
From: Henry N. <Hen...@Ar...> - 2008-02-27 07:48:06
|
If you can not ping external sites, I'm afraid, you have a hard configured firewall from your departments LAN.IT. This let me assume, you can only surf via proxy? If you know that you use proxy with your webserver, than must setup proxy also in coLinux. Type this on linux prompt, with your personal settings shurely: export http_proxy=http://username:pas...@pr...:port/ export ftp_proxy=http://username:pas...@pr...port/ After this proxy setup, "wget google.com" and apt-get should work. More hints about apt-get setup: http://lena.franken.de/linux/debian_and_vserver/commands_to_install.html#HTTP-Proxy -- Henry N. Abhrajit Datta wrote: > Hi, > I cannot ping external sites from windows command prompt.i can ping other > machines on LAN.IT is saying request timed out if i try to ping google.com > etc.I have disabled my windows firewall.my ipconfig is as follows:do i need > to change anything in this? > > Windows IP Configuration > Host Name . . . . . . . . . . . . : A2MD01956 > Primary Dns Suffix . . . . . . . : mindtree.com > Node Type . . . . . . . . . . . . : Hybrid > IP Routing Enabled. . . . . . . . : No > WINS Proxy Enabled. . . . . . . . : No > DNS Suffix Search List. . . . . . : mindtree.com > Ethernet adapter Local Area Connection: > Connection-specific DNS Suffix . : > Description . . . . . . . . . . . : 3Com 3C920B-EMB Integrated Fast Ethernet > Controller > Physical Address. . . . . . . . . : 00-0A-5E-30-79-8E > Dhcp Enabled. . . . . . . . . . . : Yes > Autoconfiguration Enabled . . . . : Yes > IP Address. . . . . . . . . . . . : 172.22.1.128 > Subnet Mask . . . . . . . . . . . : 255.255.252.0 > Default Gateway . . . . . . . . . : 172.22.0.1 > DHCP Server . . . . . . . . . . . : 172.22.192.2 > DNS Servers . . . . . . . . . . . : 172.22.192.2 > 172.22.192.25 > Primary WINS Server . . . . . . . : 172.22.192.2 > Secondary WINS Server . . . . . . : 172.22.192.25 > Lease Obtained. . . . . . . . . . : Tuesday, February 26, 2008 5:19:35 PM > Lease Expires . . . . . . . . . . : Wednesday, March 05, 2008 5:19:35 PM > > ________________________________ > > From: Henry Nestler [mailto:Hen...@Ar...] > Sent: Wed 2/27/2008 1:22 AM > To: Abhrajit Datta > Cc: Cooperative Linux Users > Subject: Re: [coLinux-users] Problem with TAP win 32 adapter > > > > 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:Hen...@Ar...] >> 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/> <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_Fl > y >> 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. > > > abhri > > > > DISCLAIMER: > This message (including attachment if any) is confidential and may be privileged. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. > E-mail may contain viruses. Before opening attachments please check them for viruses and defects. While MindTree Consulting Limited (MindTree) has put in place checks to minimize the risks, MindTree will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. > Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission. > MindTree reserves the right to monitor and review the content of all messages sent to or from MindTree e-mail address. Messages sent to or from this e-mail address may be stored on the MindTree e-mail system or else where. > -- Henry N. |