-
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

OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2 for Dual 3.5 inch HDDs
$87.99

Broadcom MegaRAID 9480-8e Fujitsu PRAID EP540e SAS RAID Card (Replac 9380-8e) 8i
$228.00

Promise Pegasus R6 Thunderbolt 2 RAID Storage 6Bay Enclosure G2U
$129.99

Areca ARC-1882IX-24 (16i4e)24-Port RAID Controller Card w/BBU /HDD Monitor Board
$202.46

Dell PowerEdge HBA330 LP PCI-E 12GBs RAID SAS Controller Adapter J7TNV
$18.95

Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller
$64.99

MegaRAID 9580-8i8e 16-port 12G SAS/SATA/NVMe 8GB PCIe RAID - 05-50076-00
$1619.26

LSI 9305-16i SATA SAS 12Gbs Controller card PCIe 3.0 IT-Mode w/SAS SATA cable US
$125.98

Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD
$265.00

G-Technology G-SPEED Studio XL 48TB Thunderbolt 2 Storage - Housing Only
$200.00