-
Senior Member
registered user
I put a shortcut in my autostart folder to run a script that activates my modem at startup. Then when I want to get on the internet, I click on a desktop KPPP icon that connects and launches Mozilla. Here's the script:
#!/bin/bash
# Save this file as modem.sh in /home/knoppix
# Set up a persistent home with Knoppix so files will stay put
# Make a shortcut called Modem on the desktop or in your autostart folder.
# In the shortcut under Execute put: sudo -s /modem.sh
# Check Run in terminal and it will do that as root
# Run this Modem shortcut to dial-up if your modem has not been activated.
# These lines, will be run as root, and activate the Lucent winmodem:
cd /home/knoppix/tmp
mknod /dev/ttyLT0 c 62 64
chmod a+rw /dev/ttyLT0
ln -sf /dev/ttyLT0 /dev/modem
insmod -f lt_modem.o
insmod -f lt_serial.o
# This line changes the user to knoppix, starts KPPP, and connects to MyISP.
# Uncomment the line if you want to use it:
# su knoppix -c 'kppp -c MyISP'
# --------------------------
# Make a desktop shortcut called KPPP. In the shortcut
# Under Execute put: kppp -c MyISP
# Where "MyISP" is the name of your dial-up account
# Run this KPPP shortcut to dial-up if your modem has already been activated.
# Set KPPP to redial on disconnect if pppd always dies on the first try.
# In KPPP, under your account, execute, on connect, put: mozilla
# If you want Mozilla to launch automatically on connect.
I use a custom autostart folder so that Konqueror doesn't launch every time I start Knoppix:
Right click on the desktop, click configure desktop, then paths, to make the change. I use: /home/knoppix/autostart. Then move showindex.desktop out and put the modem shortcut in.
Similar Threads
-
By \/\/inblowz in forum Hardware & Booting
Replies: 4
Last Post: 12-18-2004, 09:52 PM
-
By Skytos in forum Hardware & Booting
Replies: 1
Last Post: 10-07-2004, 12:00 AM
-
By Naosuke in forum Networking
Replies: 10
Last Post: 09-24-2004, 12:38 AM
-
By stoneguy in forum Networking
Replies: 0
Last Post: 07-01-2004, 01:57 PM
-
By knoppix_br in forum Hardware & Booting
Replies: 1
Last Post: 05-24-2003, 11:50 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

Dell PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR
$96.60

Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 256GB DDR3 RAM NO HDD
$349.99

NEW DELL TRUSTED PLATFORM MODULE TPM 2.0 POWEREDGE T430 T630 G13 SERVERS K98XH
$225.00

NETAPP HCI NAF-1701 SuperMicro Server 4X BLADE H410C 8X GOLD 5120 4 NODE SERVER
$1499.97

SUPERMICRO CSE-827 SERVER 4* E5645 2.4GHZ 12* 8GB PC3 RAM 11* 2TB SATA HDD 2*PSU
$679.99

Dell PowerEdge VRTX 2.5"x25 Bay Blade Enclosure 4x1600W + 4X M640 (4X Blades)
$1599.99

Datto S3E12000 RACK SERVER 2U 2x Xeon E5-2670 v3 2.30GHz 32GB RAM 2x PSU 14 BAY
$399.95

Dell Poweredge C6400 24x 2.5ββ 2x 2400W 4x C6420 Nodes H330 | 2x SFP | 8x Trays
$799.99

Dell PowerEdge M640 Blade Barebone Server Dell P/N: HHB006 Tested Working
$149.99

NEW Cisco UCSB-5108-AC2 Blade Server Chassis 8 Slot 6RU Chassis 4 X PSU - DW
$599.40