-
start up (serial) LAN at boot up
Hi there,
I'm fairly newbie on linux, about 6 months now.
I'm running Debian 3.1, installed from Knoppix live CD.
Must say, best thing that happened to me for quite a while (computerwise that is).
The problem at hand:
I intend to set up a LAN, including my desktop Pentium III, and a server to connect me to the outside world.
I do not have that server yet, but do have an old Compaq Presario that could serve as standin whilst
setting up network + services.
Setback here was that Compaq has no slots to put an Ethernet card in.
It has a serial port though.
Reading through linux manuals I found out that this was directly supported.
Either SLIP or PPP, of which the latter clearly is superior IMHO.
So I use a null-modem cable (no modems) to connect RS-232 to RS-232.
I've now gotten to the point where pppd / sshd / nfs runs on both machines.
The setup works, I can login and also mount remote filesystems (vice versa).
(we're not talkin speed here . . .)
My problem:
Whats the 'proper' way to do this, and how to automate it?
(proper automation is what i'ts all about eh?)
sshd and nfsd are started from /etc/init.d/bootmisc.sh :
/etc/init.d/ssh start
/etc/init.d/nfs-kernel-server start
pppd is started from /etc/inittab :
S0:2345:respawn
ppd ttyS0
The ttyS0 is configured thru /etc/ppp/options - /etc/ppp/options.ttyS0
Then I have to manually do a 'ifconfig ppp0 local_addr pointopoint remote_addr'
Now I want this to work straight away from boot without the manual ppp0 configuration.
I've tried it with:
- use 'interfaces', that uses 'pon' and doesn't work, or hangs the boot sequence.
- put 'ifconfig ppp0 local pointopoint remote' in /etc/init.d/bootmisc.sh -> no effect
- created script /etc/ppp/ip-up.d/ip-up.local -> no avail
I've figured this out by reading lots of documentation, and trial and error.
So, althouhg my setup (more ore less) works, I'm not happy, since it's not automated.
I'm still hackin' away, but no progress booked, hence this message.
I'm pretty sure someone out there knows better, please inform me!
l_e_e
Similar Threads
-
By Jordi in forum Hardware & Booting
Replies: 0
Last Post: 11-14-2005, 11:59 AM
-
By mweidner in forum Hardware & Booting
Replies: 4
Last Post: 10-22-2005, 11:43 AM
-
By frosterrj in forum Hardware & Booting
Replies: 0
Last Post: 09-22-2005, 07:59 PM
-
By snaproll in forum Hardware & Booting
Replies: 14
Last Post: 08-24-2005, 07:58 PM
-
By poweribo in forum General Support
Replies: 2
Last Post: 06-30-2004, 08:26 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit
$99.99

WARIS 32GB (4x8GB) DDR4-3200 PC4-25600 288-Pin UDIMM Desktop RAM H4737130
$119.99

RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED
$445.00

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$21.68

Samsung 8GB DDR4 SO-DIMM PC4-3200AA 260-Pin RAM M471A1G44BB0-CWE Module
$29.25

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC
$29.99

DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix
$30.00

Samsung 16GB LPCAMM2 PC5 7500 DDR5 LPDDR5X CAMM2 M561K1LC4DM0-CCTGM RAM Memory
$189.00

LOT OF 5 RAM STICKS-SAMSUNG/SK Hynix 16GB 2Rx8 PC4-2133 (16GBX5=75GB TOTAL)
$345.00

Corsair Vengeance DDR3 8GB 16GB 32GB 1866MHz PC3-14900 Desktop RAM Memory DIMM
$85.00