-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
| Thanks all. Finally everything works fine! | I can now ping my fiasco machine from other linux machine. Is there any way | that I can ping other PC from my Fiasco machine?
Fine. There is no ping tool in l4/pkg yet, but you may now use FLIPS to build your own one (or port an existing one).
| If I set up 2 fiasco machines under my dhcp-enabled network environment, can | it ping each other?
There's no reason why this shouldn't work.
Regards, Bjoern - -- Dipl.-Inf. Bjoern Doebel Mail: doebel@tudos.org TU Dresden, OS Chair Phone: +49 351 463 38 799 Noethnitzer Str. 46 Fax: +49 351 463 38 284 01187 Dresden, Germany
Hi,
If I'm going to port the Linux's ping program to L4, what are the things that I should do? Do I need to reinvent the wheel? Do I need to code it from scratch in order to port it to L4? If any, is there a faster way?
Need some guide, I don't have any porting-application-to-L4 experience before.
Thanks, karipap.
On Jan 29, 2008 2:05 PM, Björn Döbel doebel@os.inf.tu-dresden.de wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
| Thanks all. Finally everything works fine! | I can now ping my fiasco machine from other linux machine. Is there any way | that I can ping other PC from my Fiasco machine?
Fine. There is no ping tool in l4/pkg yet, but you may now use FLIPS to build your own one (or port an existing one).
| If I set up 2 fiasco machines under my dhcp-enabled network environment, can | it ping each other?
There's no reason why this shouldn't work.
Regards, Bjoern
Dipl.-Inf. Bjoern Doebel Mail: doebel@tudos.org TU Dresden, OS Chair Phone: +49 351 463 38 799 Noethnitzer Str. 46 Fax: +49 351 463 38 284 01187 Dresden, Germany -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHntAlP5ijxgQLUNkRAumpAJ9710WeH2mldb5USBfJ496cdw6s8ACdHENZ oFD6j1GktKd4F6XQlen6q7w= =uy7G -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
| If I'm going to port the Linux's ping program to L4, what are the things | that I should do? Do I need to reinvent the wheel? Do I need to code it from | scratch in order to port it to L4? If any, is there a faster way? | | Need some guide, I don't have any porting-application-to-L4 experience | before.
The basic building blocks should already be there. There is a C library (l4/pkg/uclibc), POSIX bindings are provided by the L4VFS and FLIPS provides you the opportunity to use a socket interface. So basically porting should consist of adapting some include paths and libraries.
For the ping utility you might also try to write a basic one on your own if you don't have an idea about socket programming yet.
Bjoern
Hi,
Is the task required for porting this Ping program is the same thing as porting the ifconfig in mini_ifconfig (included in Flips package)? Is there any documented tutorial (on porting apps to fiasco) or guide that I can starts with? For now, the Hello world program is the nearest practical clue that I have.
Thanks, karipap.
On Jan 29, 2008 2:27 PM, Björn Döbel doebel@os.inf.tu-dresden.de wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
| If I'm going to port the Linux's ping program to L4, what are the things | that I should do? Do I need to reinvent the wheel? Do I need to code it from | scratch in order to port it to L4? If any, is there a faster way? | | Need some guide, I don't have any porting-application-to-L4 experience | before.
The basic building blocks should already be there. There is a C library (l4/pkg/uclibc), POSIX bindings are provided by the L4VFS and FLIPS provides you the opportunity to use a socket interface. So basically porting should consist of adapting some include paths and libraries.
For the ping utility you might also try to write a basic one on your own if you don't have an idea about socket programming yet.
Bjoern -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHntVNP5ijxgQLUNkRAky5AJ9uXYmkOz0RVgwIQPecqY4g6tDJHwCfRKsS GP2LrRGjSlaD3Lo5hUl3WAQ= =0xi/ -----END PGP SIGNATURE-----
Hi,
Is the task required for porting this Ping program is the same thing as porting the ifconfig in mini_ifconfig (included in Flips package)? Is there any documented tutorial (on porting apps to fiasco) or guide that I can starts with? For now, the Hello world program is the nearest practical clue that I have.
There is no step-by-step tutorial for porting applications. It's mostly about knowing what is already there and then modifying the original code or build system in order to use L4Env calls. However, since there is a full C library (uclibc) and a POSIX layer implementation (L4VFS) available, most of the calls used by such applications should easily work on L4Env. If another library gets involved, you might however be forced to port this library to L4Env first.
Bjoern
l4-hackers@os.inf.tu-dresden.de