-
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

Crucial MX500 1TB 2.5" SATA III Internal SSD CT1000MX500SSD1
$102.99

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$90.00

Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive
$39.99

Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot
$129.99

2 PACK 128 GB SSD M.2 2280 SATA Solid State Drive Major Brands, Samsung, LiteON
$28.80

Samsung 256 GB Internal SATA SSD Fully Tested 50%-79% Health
$24.00

Fanxiang 256GB 512GB 1TB 2TB 4TB SSD Lot 2.5'' SATA Internal Solid State Drive
$59.99

Western Digital PC SN740 256GB M.2 2280 NVMe Internal SSD (SDDPNQD-256G)
$32.99

Samsung New SSD 970 EVO Plus 2TB 1TB 500GB 250GB NVMe M2 Internal Hard Drive Lot
$79.99

Micron MTFDDAK256TBN 256 GB, Internal ,2.5" SSD
$23.00