WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] Newb question about Internet connectivity.  (Read 8273 times)

Offline E.J.

  • Newbie
  • *
  • Posts: 14
[SOLVED] Newb question about Internet connectivity.
« on: November 08, 2010, 01:43:09 PM »
Hello all.

Pardon my lack of knowledge, but I'm just starting to try Tiny Core out.  ???

The first step I need to take in order to start customizing my install is to connect to the internet. When I bring up the connection manager all I see is an entry for Ethernet. Is there a way for me to connect using my 3G USB modem? It's a  cellular modem...

I'm completely in the dark here, so I'd appreciate any input.  :P

Thanks.
« Last Edit: November 17, 2010, 11:49:51 AM by E.J. »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Newb question about Internet connectivity.
« Reply #1 on: November 08, 2010, 10:34:11 PM »
Did you search these forums - I seem to remember a couple of posts on this..

http://forum.tinycorelinux.net/index.php?topic=458.msg2866#msg2866
« Last Edit: November 08, 2010, 10:37:58 PM by Juanito »

Offline E.J.

  • Newbie
  • *
  • Posts: 14
Re: Newb question about Internet connectivity.
« Reply #2 on: November 09, 2010, 12:06:59 PM »
Quote
1. Download and install pppd and pppsetup(dont forget bash to pppsetup).
2. Run pppsetup and create the files, the pppsetup will not fit perfect for our purpose but we edit the scripts later. Put in the information required to pppsetup, use chap, no dialback.

Anyone know where I can find TCL compatible versions of those packages?

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Newb question about Internet connectivity.
« Reply #3 on: November 09, 2010, 12:44:28 PM »
you can download and install them using the appbrowser (icon showing two gear wheels)

Offline E.J.

  • Newbie
  • *
  • Posts: 14
Re: Newb question about Internet connectivity.
« Reply #4 on: November 09, 2010, 01:43:41 PM »
How can I download it that way without internet access?

Is there a repository where I can manually download it through a different OS?

Again, thanks for any help anybody may offer.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Newb question about Internet connectivity.
« Reply #5 on: November 09, 2010, 02:01:48 PM »
You did not browse the scripts in the forum.
http://forum.tinycorelinux.net/index.php?topic=7243.0

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Newb question about Internet connectivity.
« Reply #6 on: November 09, 2010, 02:50:05 PM »
Quote
Is there a repository where I can manually download it through a different OS?

Open App Browser, and click mirrors. You can go to any of these mirrors with the other OS, and download them.

You need

pppsetup.tcz
pppd.tcz
bash.tcz
dialog.tcz

Also include dep and md5 files.

With the latest version, you need additional extensions. Look at all of the .dep files for these extensions, and include all extensions shown in the .dep files.

After downloading, copy them to the /tce/optional directory.

It is easiest if you add pppsetup.tcz to On Boot.

After running pppsetup, you still need to manually edit files. See link mentioned previously.
Many people see what is. Some people see what can be, and make a difference.

Offline E.J.

  • Newbie
  • *
  • Posts: 14
Re: Newb question about Internet connectivity.
« Reply #7 on: November 09, 2010, 10:29:53 PM »
Quote from: Guy
Open App Browser, and click mirrors. You can go to any of these mirrors with the other OS, and download them.

You need

pppsetup.tcz
pppd.tcz
bash.tcz
dialog.tcz

Again, how's that suppose to work without a connection?

Does anyone have the links for the versions I need with the latest TCL?

If I download them manually, can I run them from TCL, without having to setup the TCE directory from another Linux?

Or, is it possible to setup the TCE directory from within Windows?


Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Newb question about Internet connectivity.
« Reply #8 on: November 09, 2010, 10:33:15 PM »
Use can use a link of this format to download the extensions directly: http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/tcz/pppd.tcz

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: Newb question about Internet connectivity.
« Reply #9 on: November 10, 2010, 03:02:23 AM »
Yes, you can just click "Local" in appbrowser, and select the extensions to load, instead of setting up a tce dir.
The only barriers that can stop you are the ones you create yourself.

Offline E.J.

  • Newbie
  • *
  • Posts: 14
Re: Newb question about Internet connectivity.
« Reply #10 on: November 10, 2010, 05:31:13 PM »
Before I go any further, is my grub4dos entry correct?

Quote
title Tiny Core on hda3 (tce=hda3 restore=hda3 nolocal)
kernel (hd0,2)/bzImage quiet restore=hda3  nolocal tce=hda3
initrd (hd0,2)/tinycore.gz

...or do I need additional commands to make this frugal install persistent?

BTW - I loaded the bash, dialog, and pppsetup TCZ extensions just fine through the app browser's local option.

When I went to load the ppp.tcz, I received the message it was already installed...

Could someone tell me how (from the command-line) I can see what files are in a directory, and the command to open the pppscript file for editing?


Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Newb question about Internet connectivity.
« Reply #11 on: November 10, 2010, 05:45:29 PM »
I use Grub, not grub4dos - it is probably the same.

use restore=hda3 if you plan to use backup

use home=hda3 opt=hda3 if you want persistent home and opt

I recommend persistent home and opt when installing on a hard drive. Include backup for anything you want to save not in home or opt. Edit /opt/.filetool.lst and /opt/.xfiletool.lst to determine what is backed up.


From the terminal use:

cd nameofdirectory - to go to that directory

cd .. - to go up a directory

ls - to list the contents of a directory


To run pppsetup

sudo pppsetup

After running pppsetup, you probably need to edit files with a text editor. See link mentioned previously.

Add the following to /opt/.filetool.lst so it will be backed up.
etc/ppp
etc/resolv.conf
usr/local/sbin/ppp-go

Another option, instead of backing it up, is to make a new extension, but it is best to start with the easiest method. If you make a new extension, you don't need to use backup.
« Last Edit: November 14, 2010, 07:14:36 PM by Guy »
Many people see what is. Some people see what can be, and make a difference.

Offline E.J.

  • Newbie
  • *
  • Posts: 14
Re: Newb question about Internet connectivity.
« Reply #12 on: November 14, 2010, 02:17:59 PM »
Keeping in mind I'm not going to directly install to a partition (I'm going for frugal), this is my loader entry:

Quote
title Tiny Core
find --set-root --ignore-floppies --ignore-cdrom /Tiny/bzImage
kernel /Tiny/bzImage acpi=off restore=hdc7 home=hdc7 opt=hdc7 tce=hdc7
initrd /Tiny/tinycore.gz

Is that right for a frugal install?

Now this is what I have in the folder located at '/mnt/hdc7/TCE'.

bash.tcz
bash.tcz.dep
bash.tcz.md5
dialog.tcz
nano.tcz
nano.tcz.dep
ncurses.tcz
ncurses.tcz.dep
ncurses.tcz.md5
ncurses-common.tcz
pppd.tcz
pppd.tcz.dep
pppd.tcz.md5

How do I get these to load automatically at start?

Also, when I ran the "pppsetup" command it asked me for a phone number preceded by ATD or something. How do I setup my provider?



« Last Edit: November 14, 2010, 02:58:50 PM by E.J. »

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: Newb question about Internet connectivity.
« Reply #13 on: November 14, 2010, 04:28:32 PM »
A couple of observations:
  • the 'tce' directory should be spelled in lower case ('/mnt/hdc7/tce' instead of '/mnt/hdc7/TCE')
  • the directory to store the extension files is 'tce/optional' (i.e. '/mnt/hdc7/tce/optional' in your case)
  • all extensions listed in 'tce/onboot.lst' will be automatically loaded at boot time (e.g. you could use something like echo EXT >> /mnt/hdc7/tce/onboot.lst for each EXT that you want to have included

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Newb question about Internet connectivity.
« Reply #14 on: November 14, 2010, 07:12:02 PM »
You should include md5 files for all extensions. pppsetup will work without them. md5 files are used if you update extensions.

To get them to load automatically at the start, include pppsetup in On Boot. The others will be loaded because they are dependencies.

When running pppsetup
Answer No for Callback.
Where it asks for your internet service provider's domain name, leave it blank.
The answers to the other questions should be obvious.

After running this, you need to edit some files manually. See http://forum.tinycorelinux.net/index.php?topic=458

You don't need to edit etc/ppp/options.demand. Skip that part.

You may not need to write nameserver adresses in etc/resolv.conf. I modified the pppsetup extension since that forum page was written, to do this automatically. Check this. It may not work the same after modifying the files. After connecting to the internet, open etc/resolv.conf with a text editor. It should look something like:

nameserver 80.251.192.244
nameserver 80.251.192.245

The numbers will probably be different, depending where you are in the world. If etc/resolv.conf does not have these nameserver addresses, copy them from /etc/ppp/resolv.conf to etc/resolv.conf. I repeat, do this after connecting to the internet. They will not be there before connecting to the internet.

Add the following to /opt/.filetool.lst so it will be backed up.
etc/ppp
etc/resolv.conf
usr/local/sbin/ppp-go
« Last Edit: November 14, 2010, 07:38:04 PM by Guy »
Many people see what is. Some people see what can be, and make a difference.