Re: internet connection is disconnected very often

2012-09-30 Thread Kent West

On Sun, 2012-09-30 at 01:34 -0700, Serkan KURT wrote:

In my Debian Wheezy System, internet connection is disconnected very 
often. In the meantime, I cannot reach modem interface. In Network 
manager, the connection seems to have. I can access to internet when 
disconnect and reconnect it to the Network Manager. The situation is 
the same in both wired and wireless. Please help.


The output of lspci;

06:00.0 Network controller: Intel Corporation PRO / Wireless 4965 AG 
or AGN [Kedron] Network Connection (rev 61)
08:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M 
Gigabit Ethernet PCI Express (rev 02)


Network Manager Network Interface status;

Type: Wired Ethernet
Connection State: Connected
IP Address: 192.168.1.34
Connection Speed​​: 10 Mbit / s
System Name: eth0
MAC Address: 
Driver: tg3 


Some few years ago I saw similar behavior. It coincided with the change 
in /etc/networking/interfaces from "auto ". I edited the file back to "auto", and that solved my 
problem. I'm not sure that would work now, as I think the 
/etc/networking/interfaces is deprecated.


/Kent


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/5068a525.2080...@acu.edu



Re: internet connection is disconnected very often

2012-09-30 Thread Serkan KURT
But have the same problem with the wireless connection. And there is no problem 
with windows.

--- On Sun, 9/30/12, Atıf CEYLAN  wrote:

From: Atıf CEYLAN 
Subject: Re: internet connection is disconnected very often
To: "Serkan KURT" 
Cc: debian-user@lists.debian.org
Date: Sunday, September 30, 2012, 10:25 PM




  
  


Hi,

Sometimes I encounter with the same problem. I think your problem reason is 
your modem. If you use a network device with broadcom chipset, your problem 
reason is that. I have 3 modems   (cisco linksys, airties and current docsis3.0 
cable modem and all of them include broadcom chipset network devices) and 3 
computers (two debians one winXP).  Sometimes I can connect to modem from 
Debians  but can not be data transfer between my computer and the modem. I get 
some dhcp error in syslog. I think there is a problem only between 
linux+broadcom client and with broadcom chipset modems.



On Sun, 2012-09-30 at 01:34 -0700, Serkan KURT wrote:





Hello



In my Debian Wheezy System, internet connection is disconnected very often. In 
the meantime, I cannot reach modem interface. In Network manager, the 
connection seems to have. I can access to internet when disconnect and 
reconnect it to the Network Manager. The situation is the same in both wired 
and wireless. Please help.



The output of lspci;



06:00.0 Network controller: Intel Corporation PRO / Wireless 4965 AG or AGN 
[Kedron] Network Connection (rev 61)

08:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M Gigabit 
Ethernet PCI Express (rev 02)



Network Manager Network Interface status;



Type: Wired Ethernet

Connection State: Connected

IP Address: 192.168.1.34

Connection Speed​​: 10 Mbit / s

System Name: eth0

MAC Address: 

Driver: tg3









-- 

M.Atıf CEYLAN

Yurdum Yazılım







Re: internet connection is disconnected very often

2012-09-30 Thread Atıf CEYLAN
Hi,
Sometimes I encounter with the same problem. I think your problem reason
is your modem. If you use a network device with broadcom chipset, your
problem reason is that. I have 3 modems   (cisco linksys, airties and
current docsis3.0 cable modem and all of them include broadcom chipset
network devices) and 3 computers (two debians one winXP).  Sometimes I
can connect to modem from Debians  but can not be data transfer between
my computer and the modem. I get some dhcp error in syslog. I think
there is a problem only between linux+broadcom client and with broadcom
chipset modems.

On Sun, 2012-09-30 at 01:34 -0700, Serkan KURT wrote:

> Hello
> 
> In my Debian Wheezy System, internet connection is disconnected very
> often. In the meantime, I cannot reach modem interface. In Network
> manager, the connection seems to have. I can access to internet when
> disconnect and reconnect it to the Network Manager. The situation is
> the same in both wired and wireless. Please help.
> 
> The output of lspci;
> 
> 06:00.0 Network controller: Intel Corporation PRO / Wireless 4965 AG
> or AGN [Kedron] Network Connection (rev 61)
> 08:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M
> Gigabit Ethernet PCI Express (rev 02)
> 
> Network Manager Network Interface status;
> 
> Type: Wired Ethernet
> Connection State: Connected
> IP Address: 192.168.1.34
> Connection Speed​​: 10 Mbit / s
> System Name: eth0
> MAC Address: 
> Driver: tg3


-- 
M.Atıf CEYLAN
Yurdum Yazılım


Re: Internet Connection Speed Test

2011-04-17 Thread Stan Hoeppner
Ron Johnson put forth on 4/17/2011 10:16 PM:
> 
> "Speedtest.net requires at least version 9 of Flash. Please update your
> client."

I've been greedily keeping these b/w testing sites to myself for many
many years, but I'm in a sharing mood.  Use the server nearest you.

http://ndt-202.net.berkeley.edu:7123/
http://speedtest.umflint.edu/
http://nitro.ucsc.edu/
http://jlab4.jlab.org:7123/
http://web100.rit.edu:7123/
http://ndt.anl.gov/
http://www.switch.ch/network/tools/ndt/

Requirement:  browser with JAVA support

Background on the Web100 project:
http://www.web100.org/

-- 
Stan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4dabb6c3.1000...@hardwarefreak.com



Re: Internet Connection Speed Test

2011-04-17 Thread Ron Johnson


"Speedtest.net requires at least version 9 of Flash. Please update your
client."

On 04/17/2011 01:37 PM, Jude DaShiell wrote:

You can do apt-get lynx -r  as root then try: lynx
http://www.speedtest.net/.  The statistics you need should then
appear on the screen for you to examine.On Sun, 17 Apr 2011, Wayne Topa
wrote:



--
"Neither the wisest constitution nor the wisest laws will secure
the liberty and happiness of a people whose manners are universally
corrupt."
Samuel Adams, essay in The Public Advertiser, 1749


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4dabad0c.4060...@cox.net



Re: Internet Connection Speed Test

2011-04-17 Thread Jude DaShiell
You can do apt-get lynx -r  as root then try: lynx 
http://www.speedtest.net/ .  The statistics you need should then 
appear on the screen for you to examine.On Sun, 17 Apr 2011, Wayne Topa 
wrote:

> On 04/17/2011 01:29 AM, sahaya wrote:
> >
> >
> >
> > Nathan Zabaldo wrote:
> > >
> > > Is there a package or a way to test upstream and downstream speeds of an
> > > Internet connection from a terminal in Debian Woody?
> > >
> > >
> > >
> > > e.g. www.speakeasy.net/speedtest/ , but I need to test from a terminal as
> > > I
> > > do not have a browser.
> 
> Install the iftop package
> 
> Description: displays bandwidth usage information on an network interface
>  iftop does for network usage what top(1) does for CPU usage. It listens to
>  network traffic on a named interface and displays a table of current 
> bandwidth
>  usage by pairs of hosts. Handy for answering the question "Why is my Internet
>  link so slow?".
> 
> HTH
> WT
> 
> 
> 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/alpine.bsf.2.00.1104171435570.8...@freire1.furyyjbeyq.arg



Re: Internet Connection Speed Test

2011-04-17 Thread Glenn English

On Apr 17, 2011, at 11:48 AM, Wayne Topa wrote:

> Install the iftop package

Wow! That is profoundly cool. I didn't know it existed. Thanks -- I just hope 
Nathan likes it too :-)

-- 
Glenn English
“Get a bicycle. You will not regret it. If you live.” - Mark Twain


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/694541d0-13f4-43d2-8c33-d05bc...@slsware.com



Re: Internet Connection Speed Test

2011-04-17 Thread Wayne Topa

On 04/17/2011 01:29 AM, sahaya wrote:




Nathan Zabaldo wrote:


Is there a package or a way to test upstream and downstream speeds of an
Internet connection from a terminal in Debian Woody?



e.g. www.speakeasy.net/speedtest/ , but I need to test from a terminal as
I
do not have a browser.


Install the iftop package

Description: displays bandwidth usage information on an network interface
 iftop does for network usage what top(1) does for CPU usage. It listens to
 network traffic on a named interface and displays a table of current 
bandwidth
 usage by pairs of hosts. Handy for answering the question "Why is my 
Internet

 link so slow?".

HTH
WT


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4dab27db.9050...@gmail.com



Re: Internet Connection Speed Test

2011-04-16 Thread sahaya



Nathan Zabaldo wrote:
> 
> Is there a package or a way to test upstream and downstream speeds of an
> Internet connection from a terminal in Debian Woody?
> 
>  
> 
> e.g. www.speakeasy.net/speedtest/ , but I need to test from a terminal as
> I
> do not have a browser.
> 
> 
> 
> check this out.. i got my speed test result through this site.
> http://www.ip-details.com/ its easy and faster.
>  
> 
>  
> 
>  
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Internet-Connection-Speed-Test-tp1804987p31416213.html
Sent from the Debian User mailing list archive at Nabble.com.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/31416213.p...@talk.nabble.com



Re: Internet connection sharing?

2011-03-09 Thread Camaleón
On Wed, 09 Mar 2011 12:31:37 +0330, hadi motamedi wrote:

> On 3/8/11, Camaleón wrote:

>> Run (as root, from Debian):
>>
>> ifconfig
>> cat /etc/resolv.conf
>> cat /etc/network/interfaces
>> route -n
>> ping -c 3 172.18.209.1
>>
>> And put here the output.

> Thank you very much for your reply. I found my mistake and the scenario
> is working now. Can you please let me know if any modification is needed
> when the Windows machine is connected to internet through dialup and
> also connected to debain machine via intranet?

No, you don't need to do nothing more, just ensure the gateway of the 
Debian machine is set to the IP of the windows ethernet adapter (as 
someone pointed out in the thread, when you enable ICS, Windows uses 
192.168.0.1 for the ethernet adapter so you have to adjust the computers 
of the network accordingly and also disable any DHCP facility).

However, on the Windows side you can adjust your dial-up parameters to 
auto-reconnect after "x" secons if it goes offline as most ISP tend to 
disconnect the users after a period of idle activity.

I've recently tested this scenario with an UMTS connection (hosted by a 
windows notebook) and worked with no problems. 

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.03.09.12.21...@gmail.com



Re: Internet connection sharing?

2011-03-09 Thread hadi motamedi
On 3/8/11, Camaleón  wrote:
> On Tue, 08 Mar 2011 16:21:17 +0330, hadi motamedi wrote:
>
>> On 3/8/11, Camaleón wrote:
>
>>> As root:
>>>
>>> route add default gw 192.168.0.1 eth0
>
> (...)
>
>> Thank you for your reply. The Windows machine has its primary address
>> set on a valid IP address and its secondary ip address is as
>> 172.18.209.1 . The debian machine has its ip address set as 172.18.128.1
>> so it can see the Windows machine on intranet and it has DNS address
>> set. I issued the following command on debian machine : #route add
>> default gw 172.18.209.1 eth0 But still the debian machine cannot see the
>> internet. The Windows has has ICS as enabled.
>
> Run (as root, from Debian):
>
> ifconfig
> cat /etc/resolv.conf
> cat /etc/network/interfaces
> route -n
> ping -c 3 172.18.209.1
>
> And put here the output.
>
> Greetings,
>
> --
> Camaleón
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/pan.2011.03.08.13.11...@gmail.com
>
>
Thank you very much for your reply. I found my mistake and the
scenario is working now. Can you please let me know if any
modification is needed when the Windows machine is connected to
internet through dialup and also connected to debain machine via
intranet?


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktinknz4ujpfkngocwp7oswruyxodkaopgt4c7...@mail.gmail.com



Re: Internet connection sharing?

2011-03-08 Thread Scott Ferguson
On 09/03/11 08:42, shawn wilson wrote:
> He could just setup debian to be used as it was intended - to be a
> server and put windows behind that. Just a thought.
> 
Probably the same thought many readers had...

I'm "ass"uming he has his reasons, he was fairly clear in his request.

I've come across setups where the ISP provided an ADSL modem with a
built in hub and the user setup their connection with the supplied CD -
which resulted in a weird "looped" connection (USB + eth) controlled by
the Windoof box - other machines could be plugged into the hub but had
to get the connection through ICS running on the Windoof box.

I can think of other reasons - but I thought I'd just wait for someone
else to ask/suggest ;-)

Cheers


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d76a966.5020...@gmail.com



Re: Internet connection sharing?

2011-03-08 Thread shawn wilson
He could just setup debian to be used as it was intended - to be a server
and put windows behind that. Just a thought.


Re: Internet connection sharing?

2011-03-08 Thread Scott Ferguson
On 09/03/11 02:29, Joe wrote:
> On 08/03/11 10:32, Jari Fredriksson wrote:
>> On 8.3.2011 11:52, kuLa wrote:
>>> On 08/03/11 09:50, Jari Fredriksson wrote:
 On 8.3.2011 11:36, kuLa wrote:
> On 08/03/11 09:25, hadi motamedi wrote:
>> Dear All



>>> As I wrote before - DHCP!
>>>
>>
>> That is how I handle it, yes. But one must indeed run own DHCP server to
>> get that luxury.
>>
> Windows ICS is primitive and limited to the 192.168.0. network (with XP
> at least, I haven't tried it since), but within those limits it does
> DHCP and DNS for any connected clients. If they're using DHCP, they
> should pick up all the information necessary. The Windows IP LAN address
> will be set to 192.168.0.1 when ICS is enabled.
> 
> But of course it can be done the hard way, leaving ICS off and
> configuring the clients manually. That way you get your choice of IP
> addressing.
> 
> One possibly important point: all Windows versions since 95 can act as
> routers, but IP forwarding is not enabled by default. If ICS is not
> used, forwarding must be manually enabled. I believe this registry tweak
> should apply to all versions:
>   http://support.microsoft.com/kb/315236
> 


Other things to watch (from dusty memories):-
With XP, Microsoft ICS needs to actually be installed - "enabling" is
insufficient with XP - I have no experience at using ICS with later
versions of Windoof (YMWV).
*If you are using the free version of ZoneAlarm ICS is not supported*

Note: XP ICS includes a DHCP server.

Cheers


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d76a058.7060...@gmail.com



Re: Internet connection sharing?

2011-03-08 Thread Joe
On Tue, 8 Mar 2011 12:01:27 -0500
shawn wilson  wrote:

> On Mar 8, 2011 10:29 AM, "Joe"  wrote:
> >
> >
> > One possibly important point: all Windows versions since 95 can act
> > as
> routers, but IP forwarding is not enabled by default. If ICS is not
> used, forwarding must be manually enabled. I believe this registry
> tweak should apply to all versions:
> >  http://support.microsoft.com/kb/315236
> >
> >
> 
> Sense 95, really? Darn, Microsoft was really trying to be ahead of
> their time here ;)
> If you could get 95 to stand up for more than a week, they might have
> had the server market.
> 
> All joking aside, I'm impressed.

They were very early steps. If you so much as changed the IP address,
you had to not only reboot, but first put in the installation CD, even
though it wasn't necessary. I ran it for about three years, without too
much trouble, though of course I wasn't expecting it to stay up for
days at a time. I believe NT3.5, roughly contemporary, was fairly
stable, but there was little common code, just similar-looking GUIs.

-- 
Joe


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110308185605.35096...@jresid.jretrading.com



Re: Internet connection sharing?

2011-03-08 Thread shawn wilson
On Mar 8, 2011 10:29 AM, "Joe"  wrote:
>
> On 08/03/11 10:32, Jari Fredriksson wrote:
>>
>> On 8.3.2011 11:52, kuLa wrote:
>>>
>>> On 08/03/11 09:50, Jari Fredriksson wrote:

 On 8.3.2011 11:36, kuLa wrote:
>
> On 08/03/11 09:25, hadi motamedi wrote:
>>
>> Dear All
>> My debian machine is connected to my MS Windows machine on the
net.The
>> MS Windows machine is connected to Internet via valid IP address
>> setting and on its secondary ip address setting it can see my debian
>> machine on the intranet.Can you please let me know how can try for
>> Internet connection sharing such that my debian machine can see
>> internet with minor modifications done?
>> Thank you in advance
>
>
> Hi,
> I think modifications must be done on Win machine (setting up sharing)
> so it has nothing to do with Debian. Of course I assume that you're
> using dhcp and have 2nd nic on you Win box.
>
 Yes. But a modification in Debian is needed also. The Debian's default
 gateway has to be set to the Windows box's LAN address.
>>>
>>>
>>> As I wrote before - DHCP!
>>>
>>
>> That is how I handle it, yes. But one must indeed run own DHCP server to
>> get that luxury.
>>
> Windows ICS is primitive and limited to the 192.168.0. network (with XP at
least, I haven't tried it since), but within those limits it does DHCP and
DNS for any connected clients. If they're using DHCP, they should pick up
all the information necessary. The Windows IP LAN address will be set to
192.168.0.1 when ICS is enabled.
>
> But of course it can be done the hard way, leaving ICS off and configuring
the clients manually. That way you get your choice of IP addressing.
>
> One possibly important point: all Windows versions since 95 can act as
routers, but IP forwarding is not enabled by default. If ICS is not used,
forwarding must be manually enabled. I believe this registry tweak should
apply to all versions:
>  http://support.microsoft.com/kb/315236
>
>

Sense 95, really? Darn, Microsoft was really trying to be ahead of their
time here ;)
If you could get 95 to stand up for more than a week, they might have had
the server market.

All joking aside, I'm impressed.


Re: Internet connection sharing?

2011-03-08 Thread Joe

On 08/03/11 10:32, Jari Fredriksson wrote:

On 8.3.2011 11:52, kuLa wrote:

On 08/03/11 09:50, Jari Fredriksson wrote:

On 8.3.2011 11:36, kuLa wrote:

On 08/03/11 09:25, hadi motamedi wrote:

Dear All
My debian machine is connected to my MS Windows machine on the net.The
MS Windows machine is connected to Internet via valid IP address
setting and on its secondary ip address setting it can see my debian
machine on the intranet.Can you please let me know how can try for
Internet connection sharing such that my debian machine can see
internet with minor modifications done?
Thank you in advance


Hi,
I think modifications must be done on Win machine (setting up sharing)
so it has nothing to do with Debian. Of course I assume that you're
using dhcp and have 2nd nic on you Win box.


Yes. But a modification in Debian is needed also. The Debian's default
gateway has to be set to the Windows box's LAN address.


As I wrote before - DHCP!



That is how I handle it, yes. But one must indeed run own DHCP server to
get that luxury.

Windows ICS is primitive and limited to the 192.168.0. network (with XP at least, I haven't tried it since), 
but within those limits it does DHCP and DNS for any connected clients. If they're using DHCP, they should 
pick up all the information necessary. The Windows IP LAN address will be set to 192.168.0.1 when ICS is enabled.


But of course it can be done the hard way, leaving ICS off and configuring the clients manually. That way you 
get your choice of IP addressing.


One possibly important point: all Windows versions since 95 can act as routers, but IP forwarding is not 
enabled by default. If ICS is not used, forwarding must be manually enabled. I believe this registry tweak 
should apply to all versions:

  http://support.microsoft.com/kb/315236

--
Joe


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4d764b56.5070...@jretrading.com



Re: Internet connection sharing?

2011-03-08 Thread shawn wilson
We're assuming the standard 16 bit subnet here too.

Don't know why you don't just put the machine on the same d block or even
use 169.. but either way.

If you can ping your windows box, try ringing something like 8.8.8.8 or
4.2.2.2 and see if that works. Then make sure resolv.conf has the same dns
settings as your windows box.


Re: Internet connection sharing?

2011-03-08 Thread Camaleón
On Tue, 08 Mar 2011 16:21:17 +0330, hadi motamedi wrote:

> On 3/8/11, Camaleón wrote:

>> As root:
>>
>> route add default gw 192.168.0.1 eth0

(...)

> Thank you for your reply. The Windows machine has its primary address
> set on a valid IP address and its secondary ip address is as
> 172.18.209.1 . The debian machine has its ip address set as 172.18.128.1
> so it can see the Windows machine on intranet and it has DNS address
> set. I issued the following command on debian machine : #route add
> default gw 172.18.209.1 eth0 But still the debian machine cannot see the
> internet. The Windows has has ICS as enabled.

Run (as root, from Debian): 

ifconfig
cat /etc/resolv.conf
cat /etc/network/interfaces
route -n
ping -c 3 172.18.209.1

And put here the output.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.03.08.13.11...@gmail.com



Re: Internet connection sharing?

2011-03-08 Thread hadi motamedi
On 3/8/11, Camaleón  wrote:
> On Tue, 08 Mar 2011 12:55:02 +0330, hadi motamedi wrote:
>
>> My debian machine is connected to my MS Windows machine on the net.The
>> MS Windows machine is connected to Internet via valid IP address setting
>> and on its secondary ip address setting it can see my debian machine on
>> the intranet.Can you please let me know how can try for Internet
>> connection sharing such that my debian machine can see internet with
>> minor modifications done? Thank you in advance
>
> As root:
>
> route add default gw 192.168.0.1 eth0
>
> If that works, then you can add it permanently via "/etc/network/
> interfaces"
>
> Note 1: 192.168.0.1 is the IP of the windows machine with ICS enabled.
> Note 2: Debian machine has to have IP/netmask and a DNS server configured.
>
> Greetings,
>
> --
> Camaleón
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/pan.2011.03.08.12.37...@gmail.com
>
>
Thank you for your reply. The Windows machine has its primary address
set on a valid IP address and its secondary ip address is as
172.18.209.1 . The debian machine has its ip address set as
172.18.128.1 so it can see the Windows machine on intranet and it has
DNS address set. I issued the following command on debian machine :
#route add default gw 172.18.209.1 eth0
But still the debian machine cannot see the internet. The Windows has
has ICS as enabled.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktimmbbi6x9gnekxqdpzmsjankxxii-yb9wdtv...@mail.gmail.com



Re: Internet connection sharing?

2011-03-08 Thread Camaleón
On Tue, 08 Mar 2011 12:55:02 +0330, hadi motamedi wrote:

> My debian machine is connected to my MS Windows machine on the net.The
> MS Windows machine is connected to Internet via valid IP address setting
> and on its secondary ip address setting it can see my debian machine on
> the intranet.Can you please let me know how can try for Internet
> connection sharing such that my debian machine can see internet with
> minor modifications done? Thank you in advance

As root:

route add default gw 192.168.0.1 eth0

If that works, then you can add it permanently via "/etc/network/
interfaces"

Note 1: 192.168.0.1 is the IP of the windows machine with ICS enabled.
Note 2: Debian machine has to have IP/netmask and a DNS server configured.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.03.08.12.37...@gmail.com



Re: Internet connection sharing?

2011-03-08 Thread Jari Fredriksson
On 8.3.2011 11:52, kuLa wrote:
> On 08/03/11 09:50, Jari Fredriksson wrote:
>> On 8.3.2011 11:36, kuLa wrote:
>>> On 08/03/11 09:25, hadi motamedi wrote:
 Dear All
 My debian machine is connected to my MS Windows machine on the net.The
 MS Windows machine is connected to Internet via valid IP address
 setting and on its secondary ip address setting it can see my debian
 machine on the intranet.Can you please let me know how can try for
 Internet connection sharing such that my debian machine can see
 internet with minor modifications done?
 Thank you in advance
>>>
>>> Hi,
>>> I think modifications must be done on Win machine (setting up sharing)
>>> so it has nothing to do with Debian. Of course I assume that you're
>>> using dhcp and have 2nd nic on you Win box.
>>>
>> Yes. But a modification in Debian is needed also. The Debian's default
>> gateway has to be set to the Windows box's LAN address.
> 
> As I wrote before - DHCP!
> 

That is how I handle it, yes. But one must indeed run own DHCP server to
get that luxury.

-- 

You are going to have a new love affair.



signature.asc
Description: OpenPGP digital signature


Re: Internet connection sharing?

2011-03-08 Thread kuLa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/03/11 09:50, Jari Fredriksson wrote:
> On 8.3.2011 11:36, kuLa wrote:
>> On 08/03/11 09:25, hadi motamedi wrote:
>>> Dear All
>>> My debian machine is connected to my MS Windows machine on the net.The
>>> MS Windows machine is connected to Internet via valid IP address
>>> setting and on its secondary ip address setting it can see my debian
>>> machine on the intranet.Can you please let me know how can try for
>>> Internet connection sharing such that my debian machine can see
>>> internet with minor modifications done?
>>> Thank you in advance
>>
>> Hi,
>> I think modifications must be done on Win machine (setting up sharing)
>> so it has nothing to do with Debian. Of course I assume that you're
>> using dhcp and have 2nd nic on you Win box.
>>
> Yes. But a modification in Debian is needed also. The Debian's default
> gateway has to be set to the Windows box's LAN address.

As I wrote before - DHCP!

- -- 

|_|0|_|  |
|_|_|0| "Heghlu'Meh QaQ jajVam"  |
|0|0|0|  kuLa -  |

gpg --keyserver pgp.mit.edu --recv-keys 0xC100B4CA
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNdfxxAAoJEOqHloDBALTKq8sIAIMIezkZok1tzq6ala88SqSp
HZRkgNLpuRsCOgah9EfS9CC582OWQWfu6vLIApwjS4Imm/LfHnpYrCDcfn6ckhq1
UTXilDUKasi+eyqXpfSA2HII4iYiOtcqO77wyiYK9mV7Yh0jUh9ImV7dGllyVy8c
yop0MXXaeJodQZFPHSILbtFA6kiO6JFnwJX9oYfr9ycdYrSuWovuAu5JWIii8N5C
6Dx8gs0ijP98ljfQHO8kDbMfP4arvqoTRN4GWA1Uz64ew0aj53DUUOHL+erO4g9b
gGmnNp3oMVlV93vYjE+PliYGi0vtUErTcJq15Fi8PXddSc8tFP4pQkYPM/aJFIA=
=ZC8u
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d75fc72.3060...@kulisz.net



Re: Internet connection sharing?

2011-03-08 Thread Jari Fredriksson
On 8.3.2011 11:36, kuLa wrote:
> On 08/03/11 09:25, hadi motamedi wrote:
>> Dear All
>> My debian machine is connected to my MS Windows machine on the net.The
>> MS Windows machine is connected to Internet via valid IP address
>> setting and on its secondary ip address setting it can see my debian
>> machine on the intranet.Can you please let me know how can try for
>> Internet connection sharing such that my debian machine can see
>> internet with minor modifications done?
>> Thank you in advance
> 
> Hi,
> I think modifications must be done on Win machine (setting up sharing)
> so it has nothing to do with Debian. Of course I assume that you're
> using dhcp and have 2nd nic on you Win box.
> 

Yes. But a modification in Debian is needed also. The Debian's default
gateway has to be set to the Windows box's LAN address.

-- 

Your reasoning is excellent -- it's only your basic assumptions that are
wrong.



signature.asc
Description: OpenPGP digital signature


Re: Internet connection sharing?

2011-03-08 Thread kuLa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/03/11 09:25, hadi motamedi wrote:
> Dear All
> My debian machine is connected to my MS Windows machine on the net.The
> MS Windows machine is connected to Internet via valid IP address
> setting and on its secondary ip address setting it can see my debian
> machine on the intranet.Can you please let me know how can try for
> Internet connection sharing such that my debian machine can see
> internet with minor modifications done?
> Thank you in advance

Hi,
I think modifications must be done on Win machine (setting up sharing)
so it has nothing to do with Debian. Of course I assume that you're
using dhcp and have 2nd nic on you Win box.

- -- 

|_|0|_|  |
|_|_|0| "Heghlu'Meh QaQ jajVam"  |
|0|0|0|  kuLa -  |

gpg --keyserver pgp.mit.edu --recv-keys 0xC100B4CA
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNdfixAAoJEOqHloDBALTKg4gIALU6uxF756X/9KvzVJhAFZ1f
3NRCHKAWqD9+WRzy4NtFICuP4fefM96MVJD01KLMkbIIV5djZQ3w/n9GU4ZC7cjW
VoPTmEzWlm4yr7o8ReKjkOehcV2lVJpTM1f72kJbTlyFYq32eE2adJXfUenPjtz3
3TN71HfXN1UUP5XfOqg65i32KJDvSvkSNBaxA6RJbzycjXk32yB9NyqGCDqgPUgR
vI9av6aB1IkdWT7NJNh0TPoM+998HKL0hebUydo0ZfeLx0kHWo/kCP+jAEn/p/H9
20CweEhQN7NjwiJIcOOZ8t6znsqYkyFbRcnDH3naHAwHERCvjfmr6hMwQp6kmnY=
=Yh6D
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d75f8b1.3090...@kulisz.net



Re: internet connection tester script

2011-01-28 Thread Mart Frauenlob

On 28.01.2011 12:28, kellyremo wrote:


http://pastebin.com/raw.php?i=rykHdvBh

bix.hu and www.yahoo.com are "pingable" test sites.
127.0.0.1 could not be pinged [firewall drops all icmp]

i have a "oneliner" that echoes if theres "internet connection or no".
$ ping -W 1 -c 2 bix.hu >& /dev/null && ping -W 1 -c 2 www.yahoo.com >&
/dev/null && echo "internet connection ok" || echo "no internet connection"
internet connection ok
$ ping -W 1 -c 2 127.0.0.1 >& /dev/null && ping -W 1 -c 2 www.yahoo.com
 >& /dev/null && echo "internet connection ok" || echo "no internet
connection"
no internet connection
$ ping -W 1 -c 2 127.0.0.1 >& /dev/null && ping -W 1 -c 2 127.0.0.1 >&
/dev/null && echo "internet connection ok" || echo "no internet connection"
no internet connection
$ ping -W 1 -c 2 bix.hu >& /dev/null && ping -W 1 -c 2 127.0.0.1 >&
/dev/null && echo "internet connection ok" || echo "no internet connection"
no internet connection
$ ping -W 1 -c 2 bix.hu >& /dev/null && ping -W 1 -c 2 www.yahoo.com >&
/dev/null && echo "internet connection ok" || echo "no internet connection"
internet connection ok
$

Ok!

But: if i want the "oneliner" to only go along when theres internet
connection:
$ while $TORF; do ping -W 1 -c 1 bix.hu >& /dev/null && ping -W 1 -c 1
www.yahoo.com >& /dev/null && TORF=false || TORF=true; done
$ while $TORF; do ping -W 1 -c 1 127.0.0.1 >& /dev/null && ping -W 1 -c
1 www.yahoo.com >& /dev/null && TORF=false || TORF=true; done
$ while $TORF; do ping -W 1 -c 1 127.0.0.1 >& /dev/null && ping -W 1 -c
1 127.0.0.1 >& /dev/null && TORF=false || TORF=true; done
$ while $TORF; do ping -W 1 -c 1 bix.hu >& /dev/null && ping -W 1 -c 1
127.0.0.1 >& /dev/null && TORF=false || TORF=true; done
$ while $TORF; do ping -W 1 -c 1 bix.hu >& /dev/null && ping -W 1 -c 1
www.yahoo.com >& /dev/null && TORF=false || TORF=true; done
$

It just doesn't work.

Goal: if theres no internet connection, then the oneliner must loop
until there is internet connection. if theres internet connection the
oneliner ends.

what am i missing?



until ping -c 1 host &>/dev/null; do echo "offline"; sleep 1; done
while ! ping -c 1 host &>/dev/null; do echo "offline"; sleep 1; done

no need to set the TORF variable. use the exit status of the command.

The while command continuously executes the do list as long as the last 
command in list returns an exit status of zero.

For until it's the other way round.

Best regards

Mart


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4d42bbcb.8000...@chello.at



Re: "internet connection tester script"

2010-03-27 Thread Joe

Jozsef Vadkan wrote:

Why doesn't my "internet-connection" script work?

When I plug the ethcable out, it just waits...and waits...and waits...

The script: http://pastebin.com/AE9U1qdL


Depending on what you're using it for, one ping may not be enough. I've 
seen ADSL routers (more than one model) get into a state where they will 
pass a ping and some other protocols, and not pass others.


For some reason, http seems to be quite demanding, so my current router 
check script opens up to six websites and greps for strings they must 
contain. If all six fail to return coherent results, the router gets 
rebooted.


If that seems like overkill, it works, and various lesser measures that 
I have tried were unreliable and rebooted too often on false alarms. 
This one hasn't failed either way in about three years.


--
Joe


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4bae8a05.6060...@jretrading.com



Re: "internet connection tester script"

2010-03-27 Thread Monique Y. Mudama
On Sat, Mar 27 at 13:07, Jozsef Vadkan penned:
> Why doesn't my "internet-connection" script work?
> 
> When I plug the ethcable out, it just waits...and waits...and
> waits...
> 
> The script: http://pastebin.com/AE9U1qdL

I haven't looked at the script, but I wonder if you'd be interested in
the smokeping package?  You can set it up to ping various sites; it
has a web interface that will show you graphs of your packet loss for
various time periods.

-- 
monique


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100327201408.ga20...@mail.bounceswoosh.org



Re: "internet connection tester script"

2010-03-27 Thread Ron Johnson

On 2010-03-27 07:07, Jozsef Vadkan wrote:

Why doesn't my "internet-connection" script work?

When I plug the ethcable out, it just waits...and waits...and waits...

The script: http://pastebin.com/AE9U1qdL



What happens when you pull the cable and then manually run:

ping -W 1 -c 4 bix.hu
echo $?

ping -W 1 -c 4 bix.hu | grep -q "4 received"
echo $?

ping -W 1 -c 4 www.yahoo.com | grep -q "4 received"
echo $?

Also, I'd add "-q" to the ping, and think about just checking it's 
$? instead of grepping for "4 received".


--
"History does not long entrust the care of freedom to the weak
or the timid."  Dwight Eisenhower


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4badfe87@cox.net



Re: "internet connection tester script"

2010-03-27 Thread Camaleón
On Sat, 27 Mar 2010 13:07:49 +0100, Jozsef Vadkan wrote:

> Why doesn't my "internet-connection" script work?
> 
> When I plug the ethcable out, it just waits...and waits...and waits...
> 
> The script: http://pastebin.com/AE9U1qdL

It runs fine here. Just wait a few (20?) seconds.

s...@stt008:~/Desktop$ time ./test.sh

NO INTERNET CONNECTION

real0m20.021s
user0m0.004s
sys 0m0.012s

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2010.03.27.12.43...@gmail.com



Re: Internet connection disappeared after debian-install on laptop

2006-08-03 Thread Thierry Chatelet

Kent West wrote:

Vegard L. Rekaa wrote:
  

I'm installing Debian Etch (with netinstall-cdimage) on a laptop.
During installation, it configured the DHCP-internet-connection
automaticly, downloaded all 708 packages and installed them perfectly.



Which means your NIC works with Debian. That's good.

  

But, when I reboot the system after intall, the internet connection is
gone. I checked with another computer, that the line out is OK, but
still when I plug the (ADSL) modem to the laptop, internett is not
available.

I'm not experienced with internett-connection setup, so I must ask:
 1. Wich commands gives output that makes it possible to locate the error?
 2. Is there a way to repeat the auto-configuration I saw during
installation after the system is up and running?
 3. Any other advices or hints are very much welcome!

System specs:
- The internet connection is broadband, with dynamic IP-adress (ADSL
through the telephone-line).
- No password or login nescesarry.
- Debian Etch (testing) kernel 2.6.15-486
- Laptop has no internal network-device, but has one available when
connected to the docking station (wich of course is connected).



Run "lspci" while attached to the docking station. Look for an entry
mentioning your network card. You may need to "modprobe ", where
 is the name of the appropriate module for your network card.
You could also run "modconf" (if it's installed) for a more menu-driven
pick-and-choose method of installing the correct module (and this method
has the advantage of adding the module to "/etc/modules" so it'll be
loaded on succeeding reboots - otherwise you'll have to add it manually).

I think that nowadays there's a utility ("discover"?) that should
automagically probe for and insert correct modules on boot-up, but it
may not be working properly for you for whatever reason.

Once the correct module ("driver", in Windows-speak) has been loaded,
you may still need to restart your network, with "/etc/init.d/networking
restart". You may also need to define your network settings in
"/etc/network/interfaces".

I know this is not very specific, but it might point you in the right
direction.

  
I lately discovered that after 2 installs on 2 different computer that 
in etc/network/interfaces, there is no line with , say auto eth0. So 
Check that, if you dont have this add it. And then restart you r laptop, 
it should work.

Thierry


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Internet connection disappeared after debian-install on laptop

2006-08-03 Thread Kent West
Vegard L. Rekaa wrote:
> I'm installing Debian Etch (with netinstall-cdimage) on a laptop.
> During installation, it configured the DHCP-internet-connection
> automaticly, downloaded all 708 packages and installed them perfectly.

Which means your NIC works with Debian. That's good.

> But, when I reboot the system after intall, the internet connection is
> gone. I checked with another computer, that the line out is OK, but
> still when I plug the (ADSL) modem to the laptop, internett is not
> available.
>
> I'm not experienced with internett-connection setup, so I must ask:
>  1. Wich commands gives output that makes it possible to locate the error?
>  2. Is there a way to repeat the auto-configuration I saw during
> installation after the system is up and running?
>  3. Any other advices or hints are very much welcome!
>
> System specs:
> - The internet connection is broadband, with dynamic IP-adress (ADSL
> through the telephone-line).
> - No password or login nescesarry.
> - Debian Etch (testing) kernel 2.6.15-486
> - Laptop has no internal network-device, but has one available when
> connected to the docking station (wich of course is connected).

Run "lspci" while attached to the docking station. Look for an entry
mentioning your network card. You may need to "modprobe ", where
 is the name of the appropriate module for your network card.
You could also run "modconf" (if it's installed) for a more menu-driven
pick-and-choose method of installing the correct module (and this method
has the advantage of adding the module to "/etc/modules" so it'll be
loaded on succeeding reboots - otherwise you'll have to add it manually).

I think that nowadays there's a utility ("discover"?) that should
automagically probe for and insert correct modules on boot-up, but it
may not be working properly for you for whatever reason.

Once the correct module ("driver", in Windows-speak) has been loaded,
you may still need to restart your network, with "/etc/init.d/networking
restart". You may also need to define your network settings in
"/etc/network/interfaces".

I know this is not very specific, but it might point you in the right
direction.

-- 
Kent


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



RE: [SPAM] Re: Internet Connection

2005-12-21 Thread Ed Paris
Hi Arden,

I can ping my ISP from the laptop.  I cannot ping my ISP from Linux through
the laptop.  I never configured Linux to go directly to the ISP.  I will try
to set this up so I can try to ping directly from Linux.  Thanks for your
time.

Take care,

Ed

-Original Message-
From: arden [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 21, 2005 2:59 AM
To: Ed Paris
Cc: debian-user@lists.debian.org
Subject: [SPAM] Re: Internet Connection

On Tue, 20 Dec 2005 21:15:21 -0700
"Ed Paris" <[EMAIL PROTECTED]> wrote:

>  
> 
>  Hi There,
> 
> I had to reinstall Debian from my cd-rom.  In the earlier install (from
the
> same cd-rom), I could connect to the Internet through my Windows XP laptop
> with no problem.  They are connected by a Cat5 Crossover cable between
their
> Ethernet cards.  Now, after the reinstall, I cannot connect to the outside
> world from my Debian system.  I pinged each system from the other and the
> Ethernet connection is good.  I tried to use apt-get update and the error
> message said that apt could not resolve the name of the destination
computer
> to get the updates.  I connected to the destination computer with the
laptop
> easily so it is there and running.
> 
> I ran apt-setup as root and it did not work.  I get through the connection
> type (using http), the mirror country (US), get to the mirror selection
> (cudlug.cudenver.edu or debian.uchicago.edu), get to the proxy screen
(leave
> blank like I used to do), and the next page has an error that says "Failed
> to fetch" then a paragraph that I do not understand (I'm still a newbie)
but
> the final line says that "some index files failed to download, they have
> been ignored, or old ones used instead."
> 
> I ran the Home/Small Office Network Wizard on Windows like I did the first
> time, but this time it made no difference.
> 
> Obviously, I did something seriously wrong during the install that I
cannot
> seem to fix.  Do any of you have ideas as to what I can do to fix this
> connection?  Any assistance you can give me will be greatly appreciated.
> Thanks.
> 
> Take care,
> 
> Ed

let me get this right your using a windoze laptop as a gateway for you linux
box ?

why is the first thing ive got to ask? that aside 

you say you can ping the laptop can you ping outside world past the laptop?

what happens if you connect direct to the debian box without the laptop ?

Arden 

> 
> .
> 
> 




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



RE: [SPAM] Re: Internet Connection

2005-12-21 Thread Ed Paris








Hi Johannes,

 

I have worked on /etc/network/interfaces and so will check to see if I
messed up there.

 

Many thanks.

 

Ed

 

-Original Message-
From: Johannes Wiedersich [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 21, 2005 2:08 AM
To: Ed Paris
Cc: debian-user@lists.debian.org
Subject: [SPAM] Re: Internet Connection

 

Ed Paris wrote:

>  

> 

>  Hi There,

> 

> I had to reinstall Debian from my cd-rom.  In the earlier
install (from the

> same cd-rom), I could connect to the Internet through my Windows
XP laptop

> with no problem.  They are connected by a Cat5 Crossover
cable between their

> Ethernet cards.  Now, after the reinstall, I cannot connect
to the outside

> world from my Debian system.  I pinged each system from the
other and the

> Ethernet connection is good.  I tried to use apt-get update
and the error

> message said that apt could not resolve the name of the
destination computer

> to get the updates.  I connected to the destination computer
with the laptop

> easily so it is there and running.

 

Have you configured your nameserver and/or gateway and/or proxy
correctly?

 

/etc/network/interfaces

 

I need no proxy myself so I don't know in which file to set it up.

 

Johannes

 








RE: [SPAM] Re: Internet Connection

2005-12-21 Thread Ed Paris








Hi Arden,

 

I have only one dial-up line.  The Linux machine is intended to be
an in-house server with only occasionally being used to go outside.  One
of the outside purposes being to get updates.  

 

I will try to ping the outside from Linux and let you know the results.

 

I will try to use the Linux box without going through the laptop and
let you know shortly.

 

Many thanks.

 

Ed

 

-Original Message-
From: arden [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 21, 2005 2:59 AM
To: Ed Paris
Cc: debian-user@lists.debian.org
Subject: [SPAM] Re: Internet Connection

 

On Tue, 20 Dec 2005 21:15:21 -0700

"Ed Paris"
<[EMAIL PROTECTED]> wrote:

 

>  

> 

>  Hi There,

> 

> I had to reinstall Debian from my cd-rom.  In the earlier
install (from the

> same cd-rom), I could connect to the Internet through my Windows
XP laptop

> with no problem.  They are connected by a Cat5 Crossover
cable between their

> Ethernet cards.  Now, after the reinstall, I cannot connect
to the outside

> world from my Debian system.  I pinged each system from the
other and the

> Ethernet connection is good.  I tried to use apt-get update
and the error

> message said that apt could not resolve the name of the
destination computer

> to get the updates.  I connected to the destination computer
with the laptop

> easily so it is there and running.

> 

> I ran apt-setup as root and it did not work.  I get through
the connection

> type (using http), the mirror country (US), get to the mirror
selection

> (cudlug.cudenver.edu or debian.uchicago.edu), get to the proxy
screen (leave

> blank like I used to do), and the next page has an error that says
"Failed

> to fetch" then a paragraph that I do not understand (I'm
still a newbie) but

> the final line says that "some index files failed to download,
they have

> been ignored, or old ones used instead."

> 

> I ran the Home/Small Office Network Wizard on Windows like I did
the first

> time, but this time it made no difference.

> 

> Obviously, I did something seriously wrong during the install that
I cannot

> seem to fix.  Do any of you have ideas as to what I can do to
fix this

> connection?  Any assistance you can give me will be greatly
appreciated.

> Thanks.

> 

> Take care,

> 

> Ed

 

let me get this right your using a windoze laptop as a gateway for you
linux box ?

 

why is the first thing ive got to ask? that aside 

 

you say you can ping the laptop can you ping outside world past the
laptop?

 

what happens if you connect direct to the debian box without the laptop
?

 

Arden


 

> 

> .

> 

> 

 








Re: Internet Connection

2005-12-21 Thread arden
On Tue, 20 Dec 2005 21:15:21 -0700
"Ed Paris" <[EMAIL PROTECTED]> wrote:

>  
> 
>  Hi There,
> 
> I had to reinstall Debian from my cd-rom.  In the earlier install (from the
> same cd-rom), I could connect to the Internet through my Windows XP laptop
> with no problem.  They are connected by a Cat5 Crossover cable between their
> Ethernet cards.  Now, after the reinstall, I cannot connect to the outside
> world from my Debian system.  I pinged each system from the other and the
> Ethernet connection is good.  I tried to use apt-get update and the error
> message said that apt could not resolve the name of the destination computer
> to get the updates.  I connected to the destination computer with the laptop
> easily so it is there and running.
> 
> I ran apt-setup as root and it did not work.  I get through the connection
> type (using http), the mirror country (US), get to the mirror selection
> (cudlug.cudenver.edu or debian.uchicago.edu), get to the proxy screen (leave
> blank like I used to do), and the next page has an error that says "Failed
> to fetch" then a paragraph that I do not understand (I'm still a newbie) but
> the final line says that "some index files failed to download, they have
> been ignored, or old ones used instead."
> 
> I ran the Home/Small Office Network Wizard on Windows like I did the first
> time, but this time it made no difference.
> 
> Obviously, I did something seriously wrong during the install that I cannot
> seem to fix.  Do any of you have ideas as to what I can do to fix this
> connection?  Any assistance you can give me will be greatly appreciated.
> Thanks.
> 
> Take care,
> 
> Ed

let me get this right your using a windoze laptop as a gateway for you linux 
box ?

why is the first thing ive got to ask? that aside 

you say you can ping the laptop can you ping outside world past the laptop?

what happens if you connect direct to the debian box without the laptop ?

Arden 

> 
> .
> 
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Internet Connection

2005-12-21 Thread Johannes Wiedersich

Ed Paris wrote:
 


 Hi There,

I had to reinstall Debian from my cd-rom.  In the earlier install (from the
same cd-rom), I could connect to the Internet through my Windows XP laptop
with no problem.  They are connected by a Cat5 Crossover cable between their
Ethernet cards.  Now, after the reinstall, I cannot connect to the outside
world from my Debian system.  I pinged each system from the other and the
Ethernet connection is good.  I tried to use apt-get update and the error
message said that apt could not resolve the name of the destination computer
to get the updates.  I connected to the destination computer with the laptop
easily so it is there and running.


Have you configured your nameserver and/or gateway and/or proxy correctly?

/etc/network/interfaces

I need no proxy myself so I don't know in which file to set it up.

Johannes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Internet Connection Speed Test

2005-12-05 Thread Mike McCarty

Alvin Oga wrote:


On Mon, 5 Dec 2005, Mike McCarty wrote:



Alvin Oga wrote:


On Mon, 5 Dec 2005, Mike McCarty wrote:




e.g. www.speakeasy.net/speedtest/ , but I need to test from a terminal as I


Watch your attributions! I DID NOT WRITE THAT!



never said you did ... "watch for > >>>"  etc..

c ya
alvin


You watch yourself. I saw that, but it doesn't help.

Watch your attributions!

Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Internet Connection Speed Test

2005-12-05 Thread Alvin Oga


On Mon, 5 Dec 2005, Mike McCarty wrote:

> Alvin Oga wrote:
> > On Mon, 5 Dec 2005, Mike McCarty wrote:
> > 
> > 
> >>>e.g. www.speakeasy.net/speedtest/ , but I need to test from a terminal as I
> 
> Watch your attributions! I DID NOT WRITE THAT!

never said you did ... "watch for > >>>"  etc..

c ya
alvin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Internet Connection Speed Test

2005-12-05 Thread Mike McCarty

Alvin Oga wrote:

On Mon, 5 Dec 2005, Mike McCarty wrote:



e.g. www.speakeasy.net/speedtest/ , but I need to test from a terminal as I


Watch your attributions! I DID NOT WRITE THAT!

Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Internet Connection Speed Test

2005-12-05 Thread Alvin Oga

On Mon, 5 Dec 2005, Mike McCarty wrote:

> > e.g. www.speakeasy.net/speedtest/ , but I need to test from a terminal as I

download the kernel files from kernel.org

wget http://www.kernel.org/your-favorite-kernel.bz2

or use scp 

both tellls you how fast you are .. if you know the size of the
files and how long it takes .. down the miliseconds

- do it again, and you will probably get a completely 
different answer

- another dumb test is to use 
traceroute your-favorite-site.foreign-country.com

- you speed will vary depending on where you need to go
  and which isp/tier-2/tier-1 routers you went thru

c ya
alvin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Internet Connection Speed Test

2005-12-05 Thread Mike McCarty

Nathan Zabaldo wrote:

Is there a package or a way to test upstream and downstream speeds of an
Internet connection from a terminal in Debian Woody?

 


e.g. www.speakeasy.net/speedtest/ , but I need to test from a terminal as I
do not have a browser.


I went to that site, and I don't see how it allows one to check
his speed.

My DSL modem however does report what it thinks is going on.

Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Internet Connection Speed Test

2005-12-05 Thread Paulo Marcel Coelho Aragao
Nate,

[EMAIL PROTECTED] wrote on Dec,  5:
> Is there a package or a way to test upstream and downstream speeds of an
> Internet connection from a terminal in Debian Woody?

Try iftop. It doesn't upload/download anything: you'd have to start that 
apart.  It continuously shows, top-like, the upstream and downstream speeds of 
each TCP connection.

I hope this is more or less what you're looking for
Paulo


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: internet connection

2005-10-03 Thread kamaraju kusumanchi

Tyler Lee wrote:


i am having hard time trying to connect online with
debian. my laptop is pentium m so i believe there is a
wireless network card in it. i am using debian 2.2
 

I dont understand this completely. Just because a laptop has a pentium m 
processor does not mean that it has a wireless card in it. Even if it 
has a wireless card, we need to know the chipset that it is using. At 
the command prompt type


lspci -v

and paste the output relevant to wireless card's specifications.

raju

--
Kamaraju S Kusumanchi
Graduate Student, MAE
Cornell University
http://www.people.cornell.edu/pages/kk288/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: internet connection

2005-10-02 Thread Stephen R Laniel
On Sun, Oct 02, 2005 at 05:24:18PM -0700, Tyler Lee wrote:
> please give me a step by step instruction on how to
> connect online using wireless.

See here:
http://lists.bostoncoop.net/pipermail/linux-disciples/2005-February/001044.html

for what should count as the canonical explanation of this
sort of thing.

-- 
Stephen R. Laniel
[EMAIL PROTECTED]
+(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key


signature.asc
Description: Digital signature


Re: Re: Internet connection sharing with WinXP: DNS problem

2003-10-01 Thread Shane Hickey
If you want the networking info from winxp just do this.  

Start->Run->cmd

then when the command prompt window pops up type
ipconfig /all

it will print all windows networking info.  Voila you have your nameservers.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Internet connection sharing with WinXP: DNS problem

2003-09-02 Thread Andreas Janssen
Hello

Martin Reid (<[EMAIL PROTECTED]>) wrote:

> On Monday 01 September 2003 8:47 am, Jörg Johannes wrote:
> 
>> My father has a Win XP box with a builtin DSL card (no linux driver
>> available AFAIK, it's a Eicon Diva DSL). So the only possibility to
>> get my Linux laptop connected to the net when I am at home is to let
>> XP dial in and share the connection to my Linux box. I have tried the
>> "Internet connection sharing wizard" (an awful thing) on Windows, and
>> set the Win box as gateway in my eth0 config under linux. Now I can
>> ping servers on the net with their IP adress, but I can not get the
>> name resolution to work. I don't know which DNS server Windows uses,
>> it is assigned dynamically wehn the connection is established, and I
>> don't know how to get the adress...
>> Any idea how to make surfing the net possible with such a setup?
> 
>  Try obtaining the IP addresses of your ISPs DNS servers and use them
>  for DNS
> resolution. That may work.

As Jörg's ISP seems to be T-Online, maybe he should add these nameserver
entries to his /etc/resolv.conf:

nameserver 217.5.115.77
nameserver 194.25.2.129

best regards
Andreas Janssen

-- 
Andreas Janssen
[EMAIL PROTECTED]
PGP-Key-ID: 0xDC801674
Registered Linux User #267976


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Internet connection sharing with WinXP: DNS problem

2003-09-02 Thread Nick Hastings

Good evening (or perhaps morning where you are),

* J?rg Johannes <[EMAIL PROTECTED]> [030902 16:56]:
> There are only two IP's listed in the details field. My own one 
> (Client-IP) and the dial-in server's (Server-IP). No DNS listed :(
> 
> But anyhow: I have set some "important" IP adresses to my 
> /etc/resolv.conf (my mail servers) and connection to them fails.

Oops. You need to put the IP of a nameserver in this file (man 5
resolver). Just find the IP of a nearby DNS server a put in a line like:

nameserver www.xxx.yyy.zzz

You can use /etc/hosts to locally store host IP information (as you
were trying to do for your mail servers). man 5 hosts. Your /etc/hosts
file probably has the following on the first line

127.0.0.1  debian localhost

This is assuming you did not change the default hostname from "debian".
You can add lines with IP addresses and host names after the above line.

> But I can ping www.debian.org. This is all strange. 

The IP must be cached somewhere on your machine.

> I'll wait until I start work at the university and get a "real"
> connection. Thanks to all who helped.

Good luck.

Nick.

-- 
Debian testing/unstable
Linux twofish 2.6.0-test3-looxt93c2 i686 GNU/Linux


pgp0.pgp
Description: PGP signature


Re: Internet connection sharing with WinXP: DNS problem

2003-09-02 Thread Jörg Johannes
Damien Solley schrieb:
On Mon, 2003-09-01 at 17:47, Jörg Johannes wrote:

Hi everybody.

My father has a Win XP box with a builtin DSL card (no linux driver 
available AFAIK, it's a Eicon Diva DSL). So the only possibility to get 
my Linux laptop connected to the net when I am at home is to let XP dial 
in and share the connection to my Linux box. I have tried the "Internet 
connection sharing wizard" (an awful thing) on Windows, and set the Win 
box as gateway in my eth0 config under linux. Now I can ping servers on 
the net with their IP adress, but I can not get the name resolution to 
work. I don't know which DNS server Windows uses, it is assigned 
dynamically wehn the connection is established, and I don't know how to 
get the adress...
Any idea how to make surfing the net possible with such a setup?

Thanks
joerg
--
Gib GATES keine Chance!


When you enable Internet Connection Sharing in WinXP, it sets up a
caching DNS server, DHCP server and NAT. Thus, if you set your client
linux box to get it's settings via dhcp, the WinXP box will pass on the
DNS settings (add them to resolv.conf). This works for me, with no
additional setup on either the windows or linux boxes. Using standard
dhclient3 on sarge/testing to get assign an IP address and name
resolution to the linux box.
If that doesn't work for you, then grab the DNS settings off the winxp
box (click 'status' for the DSL connection, you'll find them) and put
them in your /etc/resolv.conf.
Regards,
Damien
Hi Damien,

There are only two IP's listed in the details field. My own one 
(Client-IP) and the dial-in server's (Server-IP). No DNS listed :(

But anyhow: I have set some "important" IP adresses to my 
/etc/resolv.conf (my mail servers) and connection to them fails. But I 
can ping www.debian.org. This is all strange. I'll wait until I start 
work at the university and get a "real" connection.
Thanks to all who helped.

joerg

PS.: I will NEVER use Win XP again. It is simply crap.

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Internet connection sharing with WinXP: DNS problem

2003-09-01 Thread Damien Solley
On Mon, 2003-09-01 at 17:47, Jörg Johannes wrote:
> Hi everybody.
> 
> My father has a Win XP box with a builtin DSL card (no linux driver 
> available AFAIK, it's a Eicon Diva DSL). So the only possibility to get 
> my Linux laptop connected to the net when I am at home is to let XP dial 
> in and share the connection to my Linux box. I have tried the "Internet 
> connection sharing wizard" (an awful thing) on Windows, and set the Win 
> box as gateway in my eth0 config under linux. Now I can ping servers on 
> the net with their IP adress, but I can not get the name resolution to 
> work. I don't know which DNS server Windows uses, it is assigned 
> dynamically wehn the connection is established, and I don't know how to 
> get the adress...
> Any idea how to make surfing the net possible with such a setup?
> 
> Thanks
> joerg
> 
> -- 
> Gib GATES keine Chance!

When you enable Internet Connection Sharing in WinXP, it sets up a
caching DNS server, DHCP server and NAT. Thus, if you set your client
linux box to get it's settings via dhcp, the WinXP box will pass on the
DNS settings (add them to resolv.conf). This works for me, with no
additional setup on either the windows or linux boxes. Using standard
dhclient3 on sarge/testing to get assign an IP address and name
resolution to the linux box.
If that doesn't work for you, then grab the DNS settings off the winxp
box (click 'status' for the DSL connection, you'll find them) and put
them in your /etc/resolv.conf.
Regards,
Damien

-- 



"An expert is one who knows more and more about less and
less until he knows absolutely everything about nothing."
~


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Internet connection sharing with WinXP: DNS problem

2003-09-01 Thread Martin Reid



On Monday 01 September 2003 8:47 am, Jörg Johannes wrote:

> My father has a Win XP box with a builtin DSL card (no linux driver
> available AFAIK, it's a Eicon Diva DSL). So the only possibility to get
> my Linux laptop connected to the net when I am at home is to let XP dial
> in and share the connection to my Linux box. I have tried the "Internet
> connection sharing wizard" (an awful thing) on Windows, and set the Win
> box as gateway in my eth0 config under linux. Now I can ping servers on
> the net with their IP adress, but I can not get the name resolution to
> work. I don't know which DNS server Windows uses, it is assigned
> dynamically wehn the connection is established, and I don't know how to
> get the adress...
> Any idea how to make surfing the net possible with such a setup?
>
> Thanks
> joerg

 Try obtaining the IP addresses of your ISPs DNS servers and use them for DNS 
resolution. That may work. 
-- 
Martin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Internet connection sharing with WinXP: DNS problem

2003-09-01 Thread Albert Dengg
...
> the net with their IP adress, but I can not get the name resolution to 
> work. I don't know which DNS server Windows uses, it is assigned 
> dynamically wehn the connection is established, and I don't know how to 
> get the adress...
> Any idea how to make surfing the net possible with such a setup?
...
Well, I think I read somewhere that it sets up an dhcp server for that purpose...I 
think it was standard dhcp compatible in win2k as far as I remember...

I hope I remeber correctly

Yours, Albert Dengg

-- 
Albert Dengg <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Internet Connection Sharing

2003-08-14 Thread Andreas Janssen
Hello

vinz (<[EMAIL PROTECTED]>) wrote:

> I'm using windows XP with the dial up account on that.  I know it's a
> backwards operation but my debian system never authenticates a
> conncetion
> for the internet.  So I can never dial with it.

What program do you youse to dial in? Have you tried to set the auth
option in /etc/ppp/options to noauth?

> What I can't seem to get working is the internet on the debian system
> with the gateway pointing to my Windows XP System... are their scripts
> of something that I need to load or how do I fix this.

Can you ping the windows system? Can you ping IP addresses on the
internet? If yes, did you tell your Debian system which nameservers to
use?

best regards
Andreas Janssen

-- 
Andreas Janssen
[EMAIL PROTECTED]
PGP-Key-ID: 0xDC801674
Registered Linux User #267976


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Internet connection

2002-02-08 Thread Osamu Aoki
On Sat, Feb 09, 2002 at 11:09:08AM +1300, Alan & Kerry Shrimpton wrote:
> Not sure what info you require but I can tell you my problem and you will
> need to ask me what I need to tell you.  I am using Debian GNU/Linux 2.2.19
> 
> Window's box A connects to the Internet. ICS configured.
Not sure what ICS stand for. I assume some kind of NAT using WINDOZE.
> Linux box B connects to the Internet through box A
> 
> Now when I start Mozilla or task select (assume any Internet connection
> then) box B Mozilla just sits and can't find the URL or task select sits
> trying to connect to the ftp site.  No connection will be found in either
> UNLESS I open a MS-dos prompt from box A and ping box B then straight away
> the ftp site is found or the url using Mozilla.

This is windows configuration issue.  And possibly switch configuration.

I have a feel that if you run samba in Linux and make it accessible from
Windows, problem will be gone since stupid MS box realize there is a
Linux box out there.

Better thing to do is learn IP masquerading on Linux and use Linux as
gateway.  Linux is better OS for gateway and IPMASQ/firewall.  Let windows
machine sits behind Linux safely and enjoy Game :)

Cheers :)
-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ 
+  Osamu Aoki <[EMAIL PROTECTED]>, GnuPG-key: 1024D/D5DE453D  +
+  My debian quick-reference, http://qref.sourceforge.net/quick/  +



Re: internet connection - Thanks, Ben!

2002-02-03 Thread Klaus Neumann
---Original Message---
From: ben
Date: Sunday, February 03, 2002 08:05:11 PM
To: debian-user@lists.debian.org
Subject: Re: internet connection - was: solved: CS4236 ...
On Sunday 03 February 2002 06:33 pm, Klaus Neumann wrote:
[big snip]
the fact that you can access the nameservers from your girlfriend's machine
suggests that it is, indeed, a configuration problem on the linux box. as i
said, it's all mighty weird. you still haven't given us a post of
/etc/network/interfaces. even though that might not be the problem, just for

the sake of ruling it out, post the contents of that.

Okay, here it comes:
# /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)
iface eth0 inet static
 address 192.168.1.1
 netmask 255.255.255.0
 network 192.168.1.0
 broadcast 192.168.1.255
 gateway 192.168.1.1

I compared your files with mine and could not find anything different. I
also tried to use pon/poff for the connection. Same thing. Okay, I'll
re-install tomorrow.
Thanks a lot for your time and for trying to help! I really appreciate it.
Best regards,
Klaus



Re: internet connection - was: solved: CS4236 ...

2002-02-03 Thread ben
On Sunday 03 February 2002 06:33 pm, Klaus Neumann wrote:
[big snip]

the fact that you can access the nameservers from your girlfriend's machine 
suggests that it is, indeed, a configuration problem on the linux box. as i 
said, it's all mighty weird. you still haven't given us a post of 
/etc/network/interfaces. even though that might not be the problem, just for 
the sake of ruling it out, post the contents of that.

that dpkg -C brings you back to the prompt means that everything that you 
have installed is properly configured as far as installation is concerned. 
what remains is the question of how what is installed that is user 
configurable is actually configured. the best i can do is to send you the 
configs that render my machine functional for net access, so here goes:

[/etc/wvdial.conf]
Modem = /dev/ttyS1
Baud = 57600
Init = ATZ
Init2 = AT S11=50
Phone = 
Username = benfoley
Password = 
Dial Command = ATDP

[/etc/resolv.conf]
search rcn.com
(these ip numbers apply only to rcn.com)
nameserver 207.172.3.9
nameserver 207.172.3.10
nameserver 207.172.3.11


[/etc/host.conf]
order hosts,bind
multi on

[/etc/hosts]
### etherconf DEBCONF AREA. DO NOT EDIT THIS AREA OR INSERT TEXT BEFORE IT.
127.0.0.1   localhost   
### END OF DEBCONF AREA.  PLACE YOUR EDITS BELOW; THEY WILL BE PRESERVED.


# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)

::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

these are, to the best of my knowledge, the only significant config files 
relative to hooking up to the web. the other possiblility is that your isp 
may have some quirky setup condition that you've forgotten to include. 

good luck.



Re: internet connection - was: solved: CS4236 ...

2002-02-03 Thread Klaus Neumann
Just got home from work ... thanks for your reply ...

---Original Message---

to check that all of your installed apps are properly configured, do
dpkg -C

This gives me a new prompt after about two seconds. Nothing more.

and post the results of that. there may be something else that screwed up.
if
the command above runs cleanly, bringing you back to a prompt without error
messages, then everything is in order, as far as what's been installed so
far
is concerned.
if you can't ping your nameserver, then you're not going to get anything out

of whois, either. whois  would return domain
name
registration info for whatever address you give it. for instance, here's a
smidge of what whois tells me about whidbey.net:
Administrative Contact:
Denka, Mike (MD135) [EMAIL PROTECTED]
WhidbeyNet
14888 SR 525
Langley, WA 98260
US
(360) 341-0009
doesn't really matter, right now, though.

Interesting! I'll explore this further once I'll be online again. Thanks for
the demonstration!

it also doesn't matter that you use wvdial--it's a fine dialer; there are
many others, as well, but the point is it's not going to be the cause of the

kind of problem you're having.
are you using the same machine to send mail to the list.

No, I'm using my girlfriend's M$-ME-computer to write to the list. Both are
networked (LAN). Normally we use the Linux box as a router. Btw, both
computers use the same phoneline, so, right now I have to disconnect the one
to use the other and vice versa. This shows that the phoneline is okay. I
can ping at least the first nameserver from Windows. So, that confirms, that
nameserver and IP are so far okay, right?

 if so, then you're
connection is staying alive, so it's not that. that you're not getting a
fast
answer to your problem is due to the fact that it's mighty weird what's
going
on there. check /etc/network/interfaces. on my system, the important part of

it looks like this:
auto lo
iface lo inet loopback

I didn't have "auto lo", added it, but it didn't make any difference. :-(

if yours doesn't, then that could be the source of the problem.
try to think of what is different about the new installation, and start
making notes of anything you may have been unsure about in the course of the

initial configuration.

I'll certainly do so with the next install. Good idea!

are there any alternative dns ip's available at your isp; ie, can you be
certain that the isp isn't having a dns problem right now, or may even have
changed their dns servers? it has been know to happen.

I called them yesterday, and they claimed nothing has changed on their side.

are you sure that
you're dialing into the right number? are there optional numbers that you
can
try? is there anyone you can call who uses the same setup to connect to the
web to check that? this actually happened to me--i had the last digit wrong
by one; the call was answered by a modem and i thought i was connected but
couldn't get anywhere. in fact, you should also check /etc.wvdial.conf to
make sure that you have the right baud setting for the modem you're dialling

into.

Yes, I double checked phone # and baud rate, compared with the other
computer's config. Everything okay here.

wvdial gives me at the end:
PPP session from (some-IP-address) to some-IP-address beginning "lots of
weird keystrokes"
--> PPP negotiation detected.
--> Starting pppd at date time

Does this look okay to you? As far as I remember it was the same when it
actually worked with the last install. I can ping both of those IP-addresses
 which I assume are the dynamic addresses for my, and the remote system?


the main thing is, don't get hung up on what you can't do. focus more on the

fact that there is, however elusive, a logical reason behind the problem,
and
its solution is going to involve a wealth of understanding that can't be
bought by any other means than having the problem in the first place. it's a

good lesson.

That's an interesting way to see it! ;-) Yes, you're certainly right.
Anyway, I'm tempted to suggest a complete new install. This might get things
straight, but then I (we) will never get to know what the problem was. This
is the part I don't like about the idea. What's your opinion?

by the way, you live in one of my favorite parts of the world. if i could,
i'd be living on orcas, sucking in that chlorophyl.

What keeps you from doing so? The Pudget Sound is the most beautiful area I
ever saw. I just hope the INS will allow me to stay here!

Klaus



Re: internet connection - was: solved: CS4236 ...

2002-02-02 Thread ben
On Saturday 02 February 2002 07:32 pm, Klaus Neumann wrote:
> ---Original Message---
>
>
> if you can't ping debian.org, it's a dns problem. try to do a whois--that
> should fail as well. if your conf files are all in order, then your
> dnsutils
>
> must be screwed somehow. try dpkg --configure dnsutils, and post the error
> returns you're getting for any failed attempts at whatever you try. make it
> easier for people to be helpful.

to check that all of your installed apps are properly configured, do

dpkg -C

and post the results of that. there may be something else that screwed up. if 
the command above runs cleanly, bringing you back to a prompt without error 
messages, then everything is in order, as far as what's been installed so far 
is concerned. 

if you can't ping your nameserver, then you're not going to get anything out 
of whois, either. whois  would return domain name 
registration info for whatever address you give it. for instance, here's a 
smidge of what whois tells me about whidbey.net:

 Administrative Contact:
  Denka, Mike  (MD135)  [EMAIL PROTECTED]
  WhidbeyNet
  14888 SR 525
  Langley, WA  98260
  US
  (360) 341-0009

doesn't really matter, right now, though.

it also doesn't matter that you use wvdial--it's a fine dialer; there are 
many others, as well, but the point is it's not going to be the cause of the 
kind of problem you're having.

are you using the same machine to send mail to the list. if so, then you're 
connection is staying alive, so it's not that. that you're not getting a fast 
answer to your problem is due to the fact that it's mighty weird what's going 
on there. check /etc/network/interfaces. on my system, the important part of 
it looks like this:

auto lo
iface lo inet loopback

if yours doesn't, then that could be the source of the problem.

try to think of what is different about the new installation, and start 
making notes of anything you may have been unsure about in the course of the 
initial configuration.

are there any alternative dns ip's available at your isp; ie, can you be 
certain that the isp isn't having a dns problem right now, or may even have 
changed their dns servers? it has been know to happen. are you sure that 
you're dialing into the right number? are there optional numbers that you can 
try? is there anyone you can call who uses the same setup to connect to the 
web to check that? this actually happened to me--i had the last digit wrong 
by one; the call was answered by a modem and i thought i was connected but 
couldn't get anywhere. in fact, you should also check /etc.wvdial.conf to 
make sure that you have the right baud setting for the modem you're dialling 
into.

the main thing is, don't get hung up on what you can't do. focus more on the 
fact that there is, however elusive, a logical reason behind the problem, and 
its solution is going to involve a wealth of understanding that can't be 
bought by any other means than having the problem in the first place. it's a 
good lesson. 

by the way, you live in one of my favorite parts of the world. if i could, 
i'd be living on orcas, sucking in that chlorophyl.

ben



Re: internet connection

2002-02-02 Thread John Hasler
Klaus Neumann writes:
> ...100% packet loss

Then you have no connection at all.  Are you using ppp?  If so post the
output of the plog command.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI



Re: internet connection - was: solved: CS4236 ...

2002-02-02 Thread Klaus Neumann
---Original Message---

>
if you can't ping debian.org, it's a dns problem. try to do a whois--that
should fail as well. if your conf files are all in order, then your dnsutils

must be screwed somehow. try dpkg --configure dnsutils, and post the error
returns you're getting for any failed attempts at whatever you try. make it
easier for people to be helpful.
--
Sure.
dpkg --configure dnsutils gives me:
dpkg: error processing dnsutils (--configure):
package dnsutils is already installed and configured
Errors were encountered while processing:
dnsutils

Would you please give me an example how to use whois?
I just tried to ping my nameserver's address. Didn't work.
I can only ping the dynamic address range my provider gives me upon connect. I 
connect with wvdial. Does this matter?



Re: internet connection - was: solved: CS4236 ...

2002-02-02 Thread ben
On Saturday 02 February 2002 06:47 pm, John Hasler wrote:
> Klaus Neumann writes:
> > Now, why does lynx not open any website, nor does ping www.debian.org
> > work?  Would, please, somebody come up with a constructive suggestion,
>

if you can't ping debian.org, it's a dns problem. try to do a whois--that 
should fail as well. if your conf files are all in order, then your dnsutils 
must be screwed somehow. try dpkg --configure dnsutils, and post the error 
returns you're getting for any failed attempts at whatever you try. make it 
easier for people to be helpful.



Re: internet connection

2002-02-02 Thread Klaus Neumann
---Original Message---

Try 'ping 198.186.203.20'
--
This gives me:
PING 198.186.203.20 (198.186.203.20): 56 data bytes
then nothing more until I stop it with ctrl-C, then the statistics:
14 packets transmitted, 0 packets received, 100% packet loss



Re: internet connection - was: solved: CS4236 ...

2002-02-02 Thread John Hasler
Klaus Neumann writes:
> Now, why does lynx not open any website, nor does ping www.debian.org
> work?  Would, please, somebody come up with a constructive suggestion,

Try 'ping 198.186.203.20'
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI



Re: internet connection - was: solved: CS4236 ...

2002-02-02 Thread Klaus Neumann
---Original Message---
> Klaus writes:
> > It looks like this:
> > domain whidbey.net
> > search mail.whidbey.net whidbey.net
> > nameserver 209.166.65.1
> > nameserver 209.166.64.3
> >
> > Anything wrong here?
>
> The 'domain' line is useless. The 'search' line overrides it. It is very
> unlikely that you need it anyway, though, so take it out.
>
> Done.
>
> The 'search'
> line probably does no damage (other than to waste some time), but it
almost
> certainly is useless and was put there by someone who does not understand
> its purpose. Take it out. Man resolv.conf.
> The ip's appear to be whidbey's nameservers.
check /etc/host.conf. it should look like this:
order hosts,bind
multi on

That's exactly the contents of my /etc/host.conf.



Re: internet connection - was: solved: CS4236 ...

2002-02-02 Thread ben
On Saturday 02 February 2002 06:18 pm, Klaus Neumann wrote:
> ---Original Message---
>
> Klaus writes:
> > It looks like this:
> > domain whidbey.net
> > search mail.whidbey.net whidbey.net
> > nameserver 209.166.65.1
> > nameserver 209.166.64.3
> >
> > Anything wrong here?
>
> The 'domain' line is useless. The 'search' line overrides it. It is very
> unlikely that you need it anyway, though, so take it out.
>
> Done.
>
> The 'search'
> line probably does no damage (other than to waste some time), but it almost
> certainly is useless and was put there by someone who does not understand
> its purpose. Take it out. Man resolv.conf.
> The ip's appear to be whidbey's nameservers.

check /etc/host.conf. it should look like this:

order hosts,bind
multi on

btw, dropping the whiny attitude towards man pages, and to those who direct 
you to them, will greatly enhance your ability to understand your system.



Re: internet connection - was: solved: CS4236 ...

2002-02-02 Thread Klaus Neumann
---Original Message---
Klaus writes:
> It looks like this:
> domain whidbey.net
> search mail.whidbey.net whidbey.net
> nameserver 209.166.65.1
> nameserver 209.166.64.3
>
> Anything wrong here?
The 'domain' line is useless. The 'search' line overrides it. It is very
unlikely that you need it anyway, though, so take it out.

Done.

The 'search'
line probably does no damage (other than to waste some time), but it almost
certainly is useless and was put there by someone who does not understand
its purpose. Take it out. Man resolv.conf.
The ip's appear to be whidbey's nameservers.
--
Yes, I verified this. My internet provider confirmed that these are the
nameservers.
Now, why does lynx not open any website, nor does ping www.debian.org work?
Would, please, somebody come up with a constructive suggestion, other than
reading man resolv.conf, which confuses me even more, since it says "On a
normally configured system this file should not be necessary"? Can someone
explain this to me (Debian-newbie), please? Thank you in advance!

- Klaus



Re: internet connection - was: solved: CS4236 ...

2002-02-02 Thread John Hasler
Klaus writes:
> It looks like this:
> domain whidbey.net
> search mail.whidbey.net whidbey.net
> nameserver 209.166.65.1
> nameserver 209.166.64.3
>
> Anything wrong here?

The 'domain' line is useless.  The 'search' line overrides it.  It is very
unlikely that you need it anyway, though, so take it out.  The 'search'
line probably does no damage (other than to waste some time), but it almost
certainly is useless and was put there by someone who does not understand
its purpose.  Take it out.  Man resolv.conf.

The ip's appear to be whidbey's nameservers.
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin



Re: internet connection - was: solved: CS4236 ...

2002-02-02 Thread ben
On Saturday 02 February 2002 04:44 pm, Klaus Neumann wrote:
> From: Klaus Neumann
> Date: Saturday, February 02, 2002 04:41:12 PM
> To: [EMAIL PROTECTED]
> Subject: Re: solved: CS4236 in Potato-r4- new problem
>
>   ping www.debian.org does not work. My /etc/resolve.conf should be okay
> since
> I copied the file from my previous installation, where it worked fine.
> It looks like this:
> domain whidbey.net
> search mail.whidbey.net whidbey.net
> nameserver 209.166.65.1
> nameserver 209.166.64.3
>
> Anything wrong here?

it's not usual to include a mailserver in resolv.conf. unless your isp has 
some weird setup, it really shouldn't be necessary.



Re: internet connection (sent incorrectly, repeated here)

2001-09-18 Thread John Hasler
Mike Missett writes:
> The installation went well and is up and running, but I can't seem to get
> anywhere on the internet.  ppp is dialing the modem and making the
> appropriate noises, but the other programs insist that nothing is
> happening.  Telnet says no connection, Apt-get and dselect say things
> like Failed to get, could not resolve, no such file or directory, host
> name lookup failure, error exit status 1, etc.

Type 'ping -c1 www.debian.org'.  If that works ppp is working.  If not type
'ping -c1 198.186.203.20'.  If that works ppp is working but the resolver
isn't and you most likely need to put the correct nameserver ip's in
/etc/resolv.conf.

Type 'plog' as root and post the output.
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin



Re: internet connection

2001-09-18 Thread Eamon Roque
On Tue, Sep 18, 2001 at 07:05:56AM +, Mike Missett wrote:
> I have just installed the base system on a 68040 Mac with MacOS8 (I am
> very new to this).  The installation went well and is up and running,
> but I can't seem to get anywhere on the internet.  ppp is dialing the
> modem and making the appropriate noises, but the other programs insist
> that nothing is happening.  Telnet says no connection, Apt-get and
> dselect say things like Failed to get, could not resolve, no such file
> or directory, host name lookup failure, error exit status 1, etc.  Can
> somebody point me in the right direction here?
> Also, while I'm at it, I get nothing with the man command.  Has more
> replaced that or am I doing something wrong?
> Any assistance would be most appreciated.
> Michael Missett
What do the logs say?! /etc/resolv.conf?

cheers.

Eamon Roque



Re: internet connection (sent incorrectly, repeated here)

2001-09-18 Thread Timeboy

On Tuesday Sep 18 09:18 Mike Missett wrote:
> ** 
> ** I have just installed the base system on a 68040 Mac with MacOS8 (I am
> ** very new to this).  The installation went well and is up and running,
> ** but I can't seem to get anywhere on the internet.  ppp is dialing the
> ** modem and making the appropriate noises, but the other programs insist
> ** that nothing is happening.  Telnet says no connection, Apt-get and
> ** dselect say things like Failed to get, could not resolve, no such file
> ** or directory, host name lookup failure, error exit status 1, etc.  Can
> ** somebody point me in the right direction here?

Don't know if you have done all neccessary things. Do you have the file
/etc/resolv.conf? This is sometimes missing and you have to create it.
This is my resolv.conf:

domain  http://www.msn.de
nameserver  193.101.111.20

This file is very important to gett access to your ISP.

Timo

--
Nothing is impossible!

You only need to know the way.

 :-)



Re: internet connection

2001-09-18 Thread Adam Warner
On Tue, 2001-09-18 at 19:05, Mike Missett wrote:
> I have just installed the base system on a 68040 Mac with MacOS8 (I am
> very new to this).  The installation went well and is up and running,
> but I can't seem to get anywhere on the internet.  ppp is dialing the
> modem and making the appropriate noises, but the other programs insist
> that nothing is happening.  Telnet says no connection, Apt-get and
> dselect say things like Failed to get, could not resolve, no such file
> or directory, host name lookup failure, error exit status 1, etc.  Can
> somebody point me in the right direction here?
> Also, while I'm at it, I get nothing with the man command.  Has more
> replaced that or am I doing something wrong?

If you have just installed the base system you will need to install
other programs such as man using apt-get install. I've built up all my
Debian systems from minimum floppy disk installs so I'm aware of all the
programs that will be missing :-) Do an "apt-get install less info"
while you're at it. "less" is much better than "more". You can scroll up
and down plus search for words by pressing /

Either "cat  | less" or just type "less "

Sorry I can't help you with the rest. Just a tip: worry about getting
DNS lookups working later. You first want to know whether you can ping
known working (remote) IP addresses. Then worry about resolving their IP
addresses from their domain names by putting the IP addresses of your
DNS server(s) in /etc/resolv.conf

Regards,
Adam





Re: DNS [subtopic: Re: Internet Connection Sharing, was: Re: Ethernet]

2001-08-03 Thread Stig Brautaset
* Mike McGuire <[EMAIL PROTECTED]> spake thus:
> On Fri, Aug 03, 2001 at 12:06:46PM +0100, Ade Talabi wrote:
> > Alvin Oga,
> > 
> > How do you turn on ip forwarding on machin A, which is a WIN 98SE box

I'd say use winroute (shareware) if you cannot instead use the linux-box
for routing.

Stig



Re: DNS [subtopic: Re: Internet Connection Sharing, was: Re: Ethernet]

2001-08-03 Thread Mike McGuire
On Fri, Aug 03, 2001 at 12:06:46PM +0100, Ade Talabi wrote:
> Alvin Oga,
> 
> How do you turn on ip forwarding on machin A, which is a WIN 98SE box
> 

I *think* Win98 can actually do that (95 can't, IIRC), but I don't 
know how. I'd ask why you'd want to do that instead of using the 
Linux box to do the forwarding. :)  (It was easy enough for me, 
but someone in another thread had the obvious and annoying problem 
of Win-only drivers. If that's the case, well... sorry, man. ;)

On a related note, according to the subject at least, is there a 
way to do a minimal / fake DNS without installing BIND? ie: gets 
a DNS request, if it doesn't know it passes it on to a real (ISP's) 
DNS and caches the result. hm. I think I remember hearing the term 
"caching DNS", is that what I'm thinking of?

Mike McGuire



Re: DNS [subtopic: Re: Internet Connection Sharing, was: Re: Ethernet]

2001-08-03 Thread Ade Talabi
Alvin Oga,

How do you turn on ip forwarding on machin A, which is a WIN 98SE box

Alvin Oga ([EMAIL PROTECTED]) said thusly on [03/08/01 at 08:55]:

> 
> hi ya
> 
> In either case above...
>   - all other machines in your lan, will connect to the 2nd NIC port
>   on machine A  with a local 192.168.1.x ip#
>   -
>   - machine A will need to have ip_forward turned on and other
>   options ... and you'd need to do ip_masq too
> 
>   - see the IP_Masquerate-HOWTO and the Firewall-HOWTO
> 

|   Ade Talabi| Internet: [EMAIL PROTECTED]|
|  ::SELLFOTO::   | Web Page: http://www.net-africa.com|




Re: DNS [subtopic: Re: Internet Connection Sharing, was: Re: Ethernet]

2001-08-03 Thread Alvin Oga

hi ya

your gateway ip# is something that your ISP gives you...

if you are using dhcp... your isp will define your ip#, gateway and dns
info ... 

if you are using static ip#... you will be given your ip# range...
- "machine A" is your gateway and firewall
- you pick which ip# you want to use as your gateway...
- you pick your own machine name and domain name etc..
- you run your own dns  ( reverse dns might be trickier )

In either case above...
- all other machines in your lan, will connect to the 2nd NIC port
on machine A  with a local 192.168.1.x ip#
-
- machine A will need to have ip_forward turned on and other
options ... and you'd need to do ip_masq too

- see the IP_Masquerate-HOWTO and the Firewall-HOWTO

machine B points all its services to machine a...
- machine A is the gateway for machine B
- machine A is the dns for machine B
- machine A is the ???  for machine B

-- consider it fun  and not as bad/big of a pain in the rumps..

have fun playing/learning
alvin
--
-- http://www.Linux10.org ... Linux's 10th Anniversary Picnic/BBQ
--

On Fri, 3 Aug 2001 [EMAIL PROTECTED] wrote:

> But, how do I configure Machine B to accept the internet access from Machine 
> A? Here is my configuration right now:
> 
> Machine A:
> Windows 98 / Linux [ would like to run net sharing from both OS'es ]
> Default Gateway set to Machine A's IP
> Domain and DNS match ISP
> [ what is gateway hostname? I just made something up ]
> 
> Machine B:
> Windows 98 / Linux [ using Linux ]
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 



Re: DNS [subtopic: Re: Internet Connection Sharing, was: Re: Ethernet]

2001-08-03 Thread Sebastiaan

On Fri, 3 Aug 2001 [EMAIL PROTECTED] wrote:

> But, how do I configure Machine B to accept the internet access from Machine 
> A? Here is my configuration right now:
> 
As said before: make sure B has internet access, install ipmasq and then
everything should work. It is really that simple ;-).

Greetz,
Sebastiaan


> Machine A:
> Windows 98 / Linux [ would like to run net sharing from both OS'es ]
> Default Gateway set to Machine A's IP
> Domain and DNS match ISP
> [ what is gateway hostname? I just made something up ]
> 
> Machine B:
> Windows 98 / Linux [ using Linux ]
> 



Re: DNS [subtopic: Re: Internet Connection Sharing, was: Re: Ethernet]

2001-08-03 Thread JakeCatfox
But, how do I configure Machine B to accept the internet access from Machine 
A? Here is my configuration right now:

Machine A:
Windows 98 / Linux [ would like to run net sharing from both OS'es ]
Default Gateway set to Machine A's IP
Domain and DNS match ISP
[ what is gateway hostname? I just made something up ]

Machine B:
Windows 98 / Linux [ using Linux ]



Re: DNS [subtopic: Re: Internet Connection Sharing, was: Re: Ethernet]

2001-08-03 Thread Sebastiaan

On Fri, 3 Aug 2001 [EMAIL PROTECTED] wrote:

> How do I configure DNS on my "Machine A" for internet connection sharing over 
> an Ethernet network? Thanks.
> 
apt-get install bind

AFAIK it is installed as caching only nameserver. Then point the DNS of B
to machine A.

Greetz,
Sebastiaan




DNS [subtopic: Re: Internet Connection Sharing, was: Re: Ethernet]

2001-08-03 Thread JakeCatfox
How do I configure DNS on my "Machine A" for internet connection sharing over 
an Ethernet network? Thanks.

-- Deven



RE: Internet Connection Sharing [was: Re: Ethernet]

2001-08-02 Thread Ian Perry

>
>
> On Fri, Aug 03, 2001 at 11:58:06AM +1000, Sam Varghese wrote:
> > On Thu, Aug 02, 2001 at 09:54:37PM -0400, [EMAIL PROTECTED] wrote:
> > > How can I set up my Win98 machine to share its internet
> connection to my
> > > networked Linux machines?
> >
> > Pardon me for asking but wouldn't it better and
> > more reliable to connect with a Debian box and share
> > the connection using ip masquerading?
>
> Indeed, this would be preferable, but perhaps the original poster has
> a windows-only internal DSL card. If that is the case he will need to
> use the 'Internet Connection Sharing' facility that was added to W98
> Second Edition. For earlier windows versions there are third party
> products which accomplish the same thing.
>
> HTH
> Dave T.

True...
I have used Wingate in 95in the past (pre my linux awakening) which once
setup, worked very well

Ian




Re: Internet Connection Sharing [was: Re: Ethernet]

2001-08-02 Thread Dave Thayer
On Fri, Aug 03, 2001 at 11:58:06AM +1000, Sam Varghese wrote:
> On Thu, Aug 02, 2001 at 09:54:37PM -0400, [EMAIL PROTECTED] wrote:
> > How can I set up my Win98 machine to share its internet connection to my 
> > networked Linux machines?
> 
> Pardon me for asking but wouldn't it better and
> more reliable to connect with a Debian box and share
> the connection using ip masquerading?

Indeed, this would be preferable, but perhaps the original poster has
a windows-only internal DSL card. If that is the case he will need to
use the 'Internet Connection Sharing' facility that was added to W98
Second Edition. For earlier windows versions there are third party
products which accomplish the same thing.

HTH
Dave T.

-- 
Dave Thayer   | If trees could scream, would we be so cavalier about
Denver, Colorado USA  | cutting them down? We might, if they screamed all
[EMAIL PROTECTED] | the time, for no good reason. - Jack Handey



RE: Internet Connection Sharing [was: Re: Ethernet]

2001-08-02 Thread Ian Perry


> -Original Message-
> From: James Preston [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 03, 2001 1:33 PM
> To: debian-user@lists.debian.org
> Subject: Re: Internet Connection Sharing [was: Re: Ethernet]
>
>
> -BEGIN PGP SIGNED MESSAGE-
>
> On Fri, Aug 03, 2001 at 01:05:11PM +1000, Ian Perry wrote:
> > With Debian you have much greater control of
> input/output/forwarding access
> > than you do with windows (does windows actualy have any
> real security ?)
>
> Sure it does: "ATTRIB +R".  If a h4 files, he'll be asked if he is "sure", at which point he'll see the
> error of his ways.
>

Ahh yes, but he can still read it !!

It took me agex to work out what h4

Re: Internet Connection Sharing [was: Re: Ethernet]

2001-08-02 Thread James Preston
-BEGIN PGP SIGNED MESSAGE-

On Fri, Aug 03, 2001 at 01:05:11PM +1000, Ian Perry wrote:
> With Debian you have much greater control of input/output/forwarding access
> than you do with windows (does windows actualy have any real security ?)

Sure it does: "ATTRIB +R".  If a h4

RE: Internet Connection Sharing [was: Re: Ethernet]

2001-08-02 Thread Ian Perry


> -Original Message-
> From: Sam Varghese [mailto:[EMAIL PROTECTED] Behalf Of
> Sam Varghese
> Sent: Friday, August 03, 2001 11:58 AM
> To: debian-user@lists.debian.org
> Subject: Re: Internet Connection Sharing [was: Re: Ethernet]
>
>
> On Thu, Aug 02, 2001 at 09:54:37PM -0400, [EMAIL PROTECTED] wrote:
> > How can I set up my Win98 machine to share its internet
> connection to my
> > networked Linux machines?
>
> Pardon me for asking but wouldn't it better and
> more reliable to connect with a Debian box and share
> the connection using ip masquerading?
>
> Sam
> --
> (Sam Varghese)
> http://www.gnubies.com

It is not only better as far as reliability of connection, but it is more
secure... particularly if you have sharing bound to TCP/IP on your windows
box.

With Debian you have much greater control of input/output/forwarding access
than you do with windows (does windows actualy have any real security ?)

When you masquerade onto the internet, they cannot initiate a connections to
your win95 machine from the internet making it more secure.

Ian




Re: Internet Connection Sharing [was: Re: Ethernet]

2001-08-02 Thread dman
On Fri, Aug 03, 2001 at 12:14:39PM +1000, James Preston wrote:
| -BEGIN PGP SIGNED MESSAGE-
| 
| On Thu, Aug 02, 2001 at 10:03:13PM -0400, dman wrote:
| > You also need to specify a DNS server or you will need to type IP
| > addresses instead of names in, ex, a web browser.  To do this find out
| > the IP of your ISP's DNS server (you should have this in
| > /etc/resolv.conf on the Debian box).
| 
| Would it be reasonable to let the 'doze box use DNS from the server?
| ie. masq TCP/IP traffic, but do actual DNS look-ups against the Debian
| box's named?

Sure, if you have named and have it configured right.  I don't -- I
simply let the school's admins take care of that.

-D



Re: Internet Connection Sharing [was: Re: Ethernet]

2001-08-02 Thread James Preston
-BEGIN PGP SIGNED MESSAGE-

On Thu, Aug 02, 2001 at 10:03:13PM -0400, dman wrote:
> You also need to specify a DNS server or you will need to type IP
> addresses instead of names in, ex, a web browser.  To do this find out
> the IP of your ISP's DNS server (you should have this in
> /etc/resolv.conf on the Debian box).

Would it be reasonable to let the 'doze box use DNS from the server?
ie. masq TCP/IP traffic, but do actual DNS look-ups against the Debian
box's named?


James

-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv

iQBVAwUBO2oI+yX8mcqArqQRAQEA2gH/aIkSXMmpReMHsDxbhSls7DuqPuCNCYLX
UNs4BiiKNxwH4pWAYA/7F9UMgujFSdUVEQ97wpdGHNtjuvEkU9whCQ==
=FsDc
-END PGP SIGNATURE-



Re: Internet Connection Sharing [was: Re: Ethernet]

2001-08-02 Thread dman
On Fri, Aug 03, 2001 at 11:58:06AM +1000, Sam Varghese wrote:
| On Thu, Aug 02, 2001 at 09:54:37PM -0400, [EMAIL PROTECTED] wrote:
| > How can I set up my Win98 machine to share its internet connection to my 
| > networked Linux machines?
| 
| Pardon me for asking but wouldn't it better and
| more reliable to connect with a Debian box and share
| the connection using ip masquerading?

Oh, yeah, I should have read the question closer.  The post I just
sent explains how to have Debian on the internet sharing to 'doze.

-D



Re: Internet Connection Sharing [was: Re: Ethernet]

2001-08-02 Thread dman
On Thu, Aug 02, 2001 at 09:54:37PM -0400, [EMAIL PROTECTED] wrote:
| How can I set up my Win98 machine to share its internet connection to my 
| networked Linux machines?

I'll assume that you have Debian on the machine that has the internet
connection and that you have already done 'apt-get install ipmasq'.

I'll also assume you've given the 'doze box an IP address (if you
haven't, just say so).

On the 'doze box right click on Network Neighborhood and click on
Properties.  Select the TCP/IP item that corresponds with the NIC in
the machine and click on Properties.  In the Gateway tab enter the IP
address of your linux box with the internet connection and press Add.
Press OK enough times to get rid of all the dialogs.  Windoze will now
tell you that unless you reboot you are screwed, so click "yes" to
reboot.

You also need to specify a DNS server or you will need to type IP
addresses instead of names in, ex, a web browser.  To do this find out
the IP of your ISP's DNS server (you should have this in
/etc/resolv.conf on the Debian box).  Go back to the Properties dialog
and select the DNS Configuration tab.  Enter the address of the
nameserver.  You also need to specify a hostname and domain for the
machine or windows will yell loudly at you.  (BTW this can be done
before rebooting above inorder to reduce the reboots to 1 instead of
2)

HTH,
-D



Re: Internet Connection Sharing [was: Re: Ethernet]

2001-08-02 Thread Sam Varghese
On Thu, Aug 02, 2001 at 09:54:37PM -0400, [EMAIL PROTECTED] wrote:
> How can I set up my Win98 machine to share its internet connection to my 
> networked Linux machines?

Pardon me for asking but wouldn't it better and
more reliable to connect with a Debian box and share
the connection using ip masquerading?

Sam
-- 
(Sam Varghese)
http://www.gnubies.com



Re: Internet connection

2001-07-09 Thread Kent West

John Hasler wrote:


D-Man writes:


Why do you say the [/dev/modem] link is a bad idea (serious question)?



Locking.



There was a discussion on this a couple of years ago; last I heard, 
Debian had just about that time become smart enough to check a symbolic 
link and lock the files appropriately. Still, I'm not sure this is 
correct info, so I'd err on the safe side with John and not use links 
for these devices.




Re: Internet connection

2001-07-09 Thread D-Man
On Sun, Jul 08, 2001 at 10:09:58PM -0500, John Hasler wrote:
| D-Man writes:
| > Why do you say the [/dev/modem] link is a bad idea (serious question)?
| 
| Locking.

I didn't know it actually made a difference.

Ok, without doing further research yet so I'll assume locking is a
problem :

How about 'mv /dev/ttyS1 /dev/modem' ?  Then there is still only 1
file, but has the nicer name.  Admittedly it does create a problem if
you want to get at that serial port and the modem is no longer there
and you don't remember that you renamed it,  then you can run into a
problem with having 2 device files for a single device.

-D



Re: Internet connection

2001-07-08 Thread John Hasler
D-Man writes:
> Why do you say the [/dev/modem] link is a bad idea (serious question)?

Locking.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI



Re: Internet connection

2001-07-08 Thread D-Man
On Sun, Jul 08, 2001 at 08:24:33PM -0500, John Hasler wrote:
| Kent writes:
| > /dev/modem is usually a symbolic link to the actual ttySx; either tell
| > wvdial to use /dev/ttyS1 instead of /dev/modem, or create the link with
| > the command "ln -s /dev/ttyS1 /dev/modem".
| 
| Please do the former.  The link is a bad idea.

Why do you say the link is a bad idea (serious question)?  

I like the link technique because then all programs can call the modem
"modem" and similarly call the mouse "mouse" and the cdrom "cdrom"
rather than configuring each program to use the proper ttySx or psaux
or usbmouse or hdx or sdx or whatever the device really is.  I have a
link /dev/cdrom that points to the real drive, /dev/hdc.

-D



Re: Internet connection

2001-07-08 Thread John Hasler
Kent writes:
> /dev/modem is usually a symbolic link to the actual ttySx; either tell
> wvdial to use /dev/ttyS1 instead of /dev/modem, or create the link with
> the command "ln -s /dev/ttyS1 /dev/modem".

Please do the former.  The link is a bad idea.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI



Re: Internet connection

2001-07-08 Thread Kent West

malcolm jordan wrote:


My Task:

To connect my PC to the internet via an ISP using a newly installed 
Debian/Linux OS.


(This is the official potato distribution Debian/Linux 2.2r2 that was 
purchased from a


vendor through the postal service.)

 


Problem:

When (run as root) the command "wvdial" is given, I get the following 
resopnse


on the terminal:

WvDial: Internet dialer version 1.41

Cannot open /dev/modem: Device or resources busy

 




I have also attached a serial cable from the PC to the modem with the 
plan to use


the USB cable for Windows 98 and the serial cable attached to the 
modem and


COM 2 (ttyS1) for the Debian/Linux 2.2r.2 OS. ( I was told by someone 
at U. S.


Robotics that this was possible.) I understand the potato version 
2.2r2 does not


support USB for modems.



/dev/modem is usually a symbolic link to the actual ttySx; either tell 
wvdial to use /dev/ttyS1 instead of /dev/modem, or create the link with 
the command "ln -s /dev/ttyS1 /dev/modem".


Kent




Re: Internet connection sharing with cable modem

2001-03-30 Thread Vinh Truong
Heh, sorry, a little early in the morning. ;)

* Carel Fellinger <[EMAIL PROTECTED]> [010330 09:16]:
> On Fri, Mar 30, 2001 at 07:08:16AM -0600, Vinh Truong wrote:
> > Carel,
> > 
> > Can you ping your dns?  Can you browse the net from the Linux machine?
> 
> Mixed up identities?  I, Carel, have no problems with my machine
> firewalling and masquerading:)  I was just responding to mr Dean.
> 
> -- 
> groetjes, carel
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 



Re: Internet connection sharing with cable modem

2001-03-30 Thread Carel Fellinger
On Fri, Mar 30, 2001 at 07:08:16AM -0600, Vinh Truong wrote:
> Carel,
> 
> Can you ping your dns?  Can you browse the net from the Linux machine?

Mixed up identities?  I, Carel, have no problems with my machine
firewalling and masquerading:)  I was just responding to mr Dean.

-- 
groetjes, carel



Re: Internet connection sharing with cable modem

2001-03-30 Thread Vinh Truong
Carel,

Can you ping your dns?  Can you browse the net from the Linux machine?
Have you set up your internal machines to use the Linux machine as a
gateway?  I have a linksys router and that is what I have to do.

There is a how-to for cablemodems at http://www.linuxdoc.org.  Maybe it
will help you.  The site also has how-tos on ip masquerading and
filtering so you can secure your setup if desired.

HTH
Vinh

* Carel Fellinger <[EMAIL PROTECTED]> [010330 06:57]:
> On Fri, Mar 30, 2001 at 11:10:09AM +0100, JACKSON, DEAN wrote:
> > 
> > Right here's the scenario.
> > 
> > cable modem with dhcp allocated ip
> > int ne t card connected to this
> > 2nd int net card connected to local LAN using-static ip
> > machines on local LAN can send ping's to external ip addresses
> > problem-- machines in local LAN cannot browse internet (unable to resolve
> > dns)
> > my dns servers are 194.168.4.100 and 1942.168.8.100 (as provided by isp)
> > im sure I have installed everything correctly and put dns settings in the
> > correct places on the local machines but obviously I haven't on the Linux
> > box
> > question is there a document that shows how to set this sort of thing up
> > properly, what files on the Linux box do I have to modify?
> > anyone got any idea what I have missed?
> 
> Your /etc/resolv.conf file should look like:
> 
> #domain ?
> #search ?
> nameserver 194.168.4.100
> nameserver 1942.168.8.100   ## shouldn't that be 194.168.8.100 ?
> 
> -- 
> groetjes, carel
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 



Re: Internet connection sharing with cable modem

2001-03-30 Thread Carel Fellinger
On Fri, Mar 30, 2001 at 11:10:09AM +0100, JACKSON, DEAN wrote:
> 
> Right here's the scenario.
> 
> cable modem with dhcp allocated ip
> int ne t card connected to this
> 2nd int net card connected to local LAN using-static ip
> machines on local LAN can send ping's to external ip addresses
> problem-- machines in local LAN cannot browse internet (unable to resolve
> dns)
> my dns servers are 194.168.4.100 and 1942.168.8.100 (as provided by isp)
> im sure I have installed everything correctly and put dns settings in the
> correct places on the local machines but obviously I haven't on the Linux
> box
> question is there a document that shows how to set this sort of thing up
> properly, what files on the Linux box do I have to modify?
> anyone got any idea what I have missed?

Your /etc/resolv.conf file should look like:

#domain ?
#search ?
nameserver 194.168.4.100
nameserver 1942.168.8.100   ## shouldn't that be 194.168.8.100 ?

-- 
groetjes, carel



  1   2   >