Networking without network card

Networking without network card

Post by Manuel Munie » Wed, 23 Dec 1998 04:00:00



Does somebody know how to setup a linux laptop without
network card to use all network programs (like apache
or ping) on the local station without having "network
unreachable" messages ?

Thank you for your help,
Manu

 
 
 

Networking without network card

Post by Bill Strosber » Wed, 23 Dec 1998 04:00:00


Yes, the standard setup of Linux should work, as you (should) have a
localhost.localdomain address of 127.0.0.1 in your /etc/hosts file.  You
should also enable networking in /etc/sysconfig/network - set
networking=true.  As long as Linux has the network destination "localhost"
available, networking works.

Bill Strosberg


>Does somebody know how to setup a linux laptop without
>network card to use all network programs (like apache
>or ping) on the local station without having "network
>unreachable" messages ?

>Thank you for your help,
>Manu


 
 
 

Networking without network card

Post by Denis BRAUSSE » Wed, 23 Dec 1998 04:00:00



> Does somebody know how to setup a linux laptop without
> network card to use all network programs (like apache
> or ping) on the local station without having "network
> unreachable" messages ?

  use  localhost (127.0.0.1)  (loopback interface).
  You can also simulate networking with the "dummy" interface.
  (replace dummyb y dummu0 if loaded in module)

  BTW,  give a look at "man ifconfig" and  "man route" ans so on.
  (NET-3-HOWTO)

Best regards from France,
Denis.

--
     .---------------------.
    ( POWERED BY GNU/LINUX  )
     `---------------------'

 
 
 

Networking without network card

Post by Midro » Wed, 23 Dec 1998 04:00:00


Maybe a stupid question, but why would you wanna do that?

Midron


>Does somebody know how to setup a linux laptop without
>network card to use all network programs (like apache
>or ping) on the local station without having "network
>unreachable" messages ?

>Thank you for your help,
>Manu

 
 
 

Networking without network card

Post by Todd Graham Lewi » Wed, 23 Dec 1998 04:00:00



> Maybe a stupid question, but why would you wanna do that?

> Midron

> >Does somebody know how to setup a linux laptop without
> >network card to use all network programs (like apache
> >or ping) on the local station without having "network
> >unreachable" messages ?

Plenty of reasons!  If you were on a deserted tropical island with a case
of rum, a beautiful woman, and orders to get a CGI application completed
within the next week, it would be wonderful to be able to develop and
test it without having to find a real network to hook into.  8^)

The original questioner does not give quite enough information to give
an answer.  What are you pinging when you get "network unreachable"?
The only thing you should be pinging is "127.0.0.1", and you should
not get "network unreachable" when you do that.  If the machine is
disconnected, then why are you trying to ping another host?

Everything should work fine once you understand what is happening on
your machine.  You should be able to use ping and apache just fine.
Post more details on exactly what you are trying to do and what happens
when you do it.

--

"It's still ludicrous that nobody's ever made a run at us by making UNIX
 a popular platform on PCs.  It's almost too late now."  -- Steve Balmer
"It is too late."   -- Bill Gates             _Newsweek_, 6/23/97, p. 82

 
 
 

Networking without network card

Post by Manuel Munie » Thu, 24 Dec 1998 04:00:00


Of course, I didn't try to ping another host. My box is
named "chryseis" and when I try "ping chryseis" I get
the message "network unreachable". But as said by somebody
else, I should verify I set the dummy option when I recompiled
the kernel. But you're right: "ping 127.0.0.1" is ok.

It's the first time I set Linux for a standalone computer
(w/o network adapter), so I think I forget to check the
dummy option...

Regards,
Manuel
--
Todd Graham Lewis a crit:

Quote:

> The original questioner does not give quite enough information to give
> an answer.  What are you pinging when you get "network unreachable"?
> The only thing you should be pinging is "127.0.0.1", and you should
> not get "network unreachable" when you do that.  If the machine is
> disconnected, then why are you trying to ping another host?

> Everything should work fine once you understand what is happening on
> your machine.  You should be able to use ping and apache just fine.
> Post more details on exactly what you are trying to do and what happens
> when you do it.

 
 
 

Networking without network card

Post by Darren Littlejo » Thu, 31 Dec 1998 04:00:00


Well, I've checked and everything with the localhost is fine. Httpd is not
running anywhere else in init.d, yet Apache still just starts and stops
immediately. It's got to be something simple....