Networking Forums

Networking Forums > Computer Networking > Linux Networking > Trying to look for Linux Networking files (Ethernet related), any Document available?

Reply
Thread Tools Display Modes

Trying to look for Linux Networking files (Ethernet related), any Document available?

 
 
santa19992000@yahoo.com
Guest
Posts: n/a

 
      08-18-2005, 09:18 PM
Networks experts: I need to add more debugging prints to understand
Networking stack in Linux, is there any document available about which
files are Network related files, also can I make it as Loadable module
instead part of Kernel. Thanks in advance.

In Linux, if I connect two Linux machines through Serial ports (COM),
can I able to communicate using some socket based application?.

 
Reply With Quote
 
 
 
 
Lew Pitcher
Guest
Posts: n/a

 
      08-18-2005, 10:03 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

(E-Mail Removed) wrote:
[snip]
> In Linux, if I connect two Linux machines through Serial ports (COM),
> can I able to communicate using some socket based application?.


Most certainly, yes.

All you have to do is configure both Linux systems to use PPP on their
respective serial ports (a fairly trivial exercise), and you can have a
two-system serial-line-based network. Sockets based applications will just see
IP addresses and ports; ppp will take care of mating sockets to serial line at
both ends.

- --
Lew Pitcher

Master Codewright & JOAT-in-training | GPG public key available on request
Registered Linux User #112576 (http://counter.li.org/)
Slackware - Because I know what I'm doing.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)

iD8DBQFDBQXNagVFX4UWr64RAivlAJ0UZGYXF5fDFYpsXRar3W 0a1QPxsACcCdNP
nU0rKDpE/ExVMjC4C/QK6GE=
=sd5L
-----END PGP SIGNATURE-----
 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      08-18-2005, 10:23 PM
(E-Mail Removed) wrote:

> In Linux, if I connect two Linux machines through Serial ports (COM),
> can I able to communicate using some socket based application?.


You'd have to run PPP over the serial connection.

 
Reply With Quote
 
Geronimo W. Christ Esq
Guest
Posts: n/a

 
      08-18-2005, 10:47 PM
(E-Mail Removed) wrote:
> Networks experts: I need to add more debugging prints to understand
> Networking stack in Linux, is there any document available about which
> files are Network related files,


W. Richard Stevens "TCP/IP Illustrated". Get it at Amazon.

> also can I make it as Loadable module
> instead part of Kernel. Thanks in advance.


No.

> In Linux, if I connect two Linux machines through Serial ports (COM),
> can I able to communicate using some socket based application?.


Yes.
 
Reply With Quote
 
santa19992000@yahoo.com
Guest
Posts: n/a

 
      08-19-2005, 12:49 AM
Do I have to buy PPP stack code or is it part of Linux source code,
also Is it mandatory do I have to run PPP?, without PPP can't I
communicate over serial ports?.

Can I assign an IP address for serial/ppp interface?.

Thanks in advance.

 
Reply With Quote
 
Llanzlan Klazmon
Guest
Posts: n/a

 
      08-19-2005, 02:18 AM
(E-Mail Removed) wrote in news:1124412545.912947.22200
@z14g2000cwz.googlegroups.com:

> Do I have to buy PPP stack code


No.


> or is it part of Linux source code,


Yes.

> also Is it mandatory do I have to run PPP?,


You do if you want to run TCP/IP over it. The same protocol is used by
routers such as Cisco to talk to each other over WAN serial connections
(though Cisco also supports some other protocols too that can be used to
encap IP).


> without PPP can't Iover
> communicate over serial ports?.


Yes there are other protocols that you can use over a serial connection but
PPP is the one you want if you are going to run tcp/ip over it.


>
> Can I assign an IP address for serial/ppp interface?.


Yes.

Klazmon.

>
> Thanks in advance.
>
>


 
Reply With Quote
 
Bob Hauck
Guest
Posts: n/a

 
      08-19-2005, 02:24 AM
On 18 Aug 2005 17:49:05 -0700, (E-Mail Removed)
<(E-Mail Removed)> wrote:

> Do I have to buy PPP stack code or is it part of Linux source code,


Part of it is in the kernel, part of it is in a user-space program
called "pppd" that comes with virtually all distributions.


> Is it mandatory do I have to run PPP?, without PPP can't I communicate
> over serial ports?.


A plain serial port is fine for running a command line session, but it
can't be used as a network connection. For that you normally use PPP or
SLIP, both of which come with virtually all Linux distributions.


> Can I assign an IP address for serial/ppp interface?.


Yes. A PPP connection acts like a normal network connection. You can
give it an IP, put it in the routing table, all that.


--
-| Bob Hauck
-| A proud member of the reality-based community.
-| http://www.haucks.org/
 
Reply With Quote
 
Lew Pitcher
Guest
Posts: n/a

 
      08-19-2005, 02:37 AM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

(E-Mail Removed) wrote:
> Do I have to buy PPP stack code


No,

> or is it part of Linux source code,


No, and yes.

There are PPP 'hooks' in the Linux kernel, but the /real/ PPP support comes
from a userspace app. You can have a PPP 'daemon' (service) running in
background (the typical one is an FOSS package known as Samba PPP (from
ftp://ftp.samba.org/pub/ppp/) or in foreground (like Kppp - the KDE PPP daemon)

> also Is it mandatory do I have to run PPP?, without PPP can't I
> communicate over serial ports?.


No. You can use SLIP, which is an older transport level protocol for serial
connections.

For that matter, if you abandon the idea of using the sockets interface, you
can fall back to the old 'dumb terminal' data interchange tools. Or even just
open /dev/ttyS* and read() and write() raw data.

> Can I assign an IP address for serial/ppp interface?.


Yes.

> Thanks in advance.
>



- --
Lew Pitcher

Master Codewright & JOAT-in-training | GPG public key available on request
Registered Linux User #112576 (http://counter.li.org/)
Slackware - Because I know what I'm doing.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)

iD8DBQFDBUXfagVFX4UWr64RAsDyAJ0R3QQuuHHBNfP17V1ZWo 5QoV8+KACfRie2
qj2lBfoJ8mVq9jI9l/nNSQk=
=yToc
-----END PGP SIGNATURE-----
 
Reply With Quote
 
santa19992000@yahoo.com
Guest
Posts: n/a

 
      08-19-2005, 03:02 AM
Porting VxWorks code to Linux, I don't think task will be supported
under Linux, if I move to thread concept I believe, Does Linux had
separate thread in User versus Kernel space?.

Also how about the ISR in VxWorks can be directly convert to Linux?.

Thanks.

 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      08-19-2005, 01:03 PM
(E-Mail Removed) wrote:

> Do I have to buy PPP stack code or is it part of Linux source code,
> also Is it mandatory do I have to run PPP?, without PPP can't I
> communicate over serial ports?.


Linux includes PPP. You can also use SLIP. While you can connect computers
without those, you won't be able to use any IP based applications.

>
> Can I assign an IP address for serial/ppp interface?.


Yes.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
hello every one..query related to linux mozilla fire fox www.amarnath@gmail.com Linux Networking 0 07-13-2006 10:36 AM
Linux ppp + MegaPOP dialup change = mrru related LCP timeout Michael Shell Linux Networking 16 01-23-2005 05:42 AM
Linux 2.4.20: iptables 1.2.8: RH 8.0: /dev/net/tun related issues: packets not reaching tun Srihari Raghavan Linux Networking 0 08-04-2004 12:53 AM
Which ethernet configuration files to edit Jonathan Taub Linux Networking 2 05-03-2004 06:38 PM
is signal strenght related to access to network files? nkow Broadband Hardware 0 02-26-2004 05:50 AM



1 2 3 4 5 6 7 8 9 10 11