LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ABSOLUTLEY NO IDEA (Internet connection) (https://www.linuxquestions.org/questions/linux-newbie-8/absolutley-no-idea-internet-connection-128537/)

NewBBB 12-23-2003 08:33 PM

ABSOLUTLEY NO IDEA (Internet connection)
 
I just installed linux, and I have absolutley no idea how linux works.
Even the most basic I don't know. So who ever tries to help me, please be very very specific.

I would like to get my internet working, so that I don't have to swich back and forth between windows and linux in order to ask you guys questions.
As of right now I am using AOL with windows, but I am not using their software, I just have a ppp conection. I have DSL, and it is connected through my usb as well as my ethernet card.

I looked into Linux, and I believe it has found my ethernet card successfully.

Can someone please explain me in detail what to do. I asked before but the answere were just beyond my knowledge.

Thank You.

:newbie:

clar77 12-23-2003 08:47 PM

http://www.roaringpenguin.com/produc...ppoe/index.php

that will get your DSL running....

NewBBB 12-23-2003 08:49 PM

Someone else actually recommended me that too, but I don't really knwo how to do it. Which file shoudl I download? How should I go on once I am back in linux? Ther is also a lot of terminology that i dont understand

NewBBB 12-23-2003 08:53 PM

there also a lot of type in this and that, where exactly do I type that?
What is kernel, and what is GUi. How do I run those?

clar77 12-23-2003 09:06 PM

familarize youself with the xterm app, look under applications ( I think) for the terminal application, thats the bread and butter in linux, get to know it !!

A gui is just a graphical ( ala window$)user interface to a program, many of the important programs in RH9 are available as guis.

NewBBB 12-23-2003 09:10 PM

I remember there is a porgram that I can use where I can run an operatign system while I am still in windows. Like both at the same time, that woudl be really helpful, do u know its name?

clar77 12-23-2003 09:25 PM

not sure but I think there's something called cygwin, google for it.
The terminal is available in linux, just open it type ls or cd or pwd and get used to the directory/execution structure of linux, its well worth the time and effort.

NewBBB 12-23-2003 09:36 PM

I downlaoded these two files:

rp-pppoe-3.5-1.src.rpm
rp-pppoe-gui-3.5-1.i386.rpm

and saved them onto a floppy.
I went into linux and started terminal:

First I got this:
[root@localhost root]#

I typed in this:
rpm -Uvh rp-pppoe-3.5-1.i386.rpm rp-pppoe-gui-3.5-1.i386.rpm
/usr/bin/tkpppoe

And this is what I got as a result:
error: open of rp-pppoe-3.5-1.i386.rpm failed: No such file or directory
error: open of rp-pppoe-gui-3.5-1.i386.rpm failed: No such file or directory
[root@localhost root]#
[root@localhost root]# /usr/bin/tkpppoe


I am not really sure if I am doign it rght. There are different methods of installing the program you gave me on that website.

Demonbane 12-23-2003 09:42 PM

you have to mount the floppy disk somewhere on your filesystem first

mount /dev/fd0 /mnt/floppy
cd /mnt/floppy

then install the rpms
just do
rpm -Uvh *.rpm

NewBBB 12-23-2003 10:03 PM

This is what happened:

Welcome to the ADSL client setup. First, I will run some checks on
your system to make sure the PPPoE client is installed properly...

The following DSL config was found on your system:

Device: Name:
ppp0

Please enter the device if you want to configure the present DSL config
(default ppp0) or enter 'n' if you want to create a new one: n

LOGIN NAME

Enter your Login Name: tahmasian147@aol.com

INTERFACE

Enter the Ethernet interface connected to the ADSL modem
For Solaris, this is likely to be something like /dev/hme0.
For Linux, it will be ethX, where 'X' is a number.
(default eth0): eth0

Do you want the link to come up on demand, or stay up continuously?
If you want it to come up on demand, enter the idle time in seconds
after which the link should be dropped. If you want the link to
stay up permanently, enter 'no' (two letters, lower-case.)
NOTE: Demand-activated links do not interact well with dynamic IP
addresses. You may have some problems with demand-activated links.
Enter the demand value (default no): no

DNS

Please enter the IP address of your ISP's primary DNS server.
If your ISP claims that 'the server will provide dynamic DNS addresses',
enter 'server' (all lower-case) here.
If you just press enter, I will assume you know what you are
doing and not modify your DNS setup.
Enter the DNS information here:

PASSWORD

Please enter your Password:
Please re-enter your Password:
Sorry, the passwords do not match. Try again? (y/n)y

PASSWORD

Please enter your Password:
Please re-enter your Password:

USERCTRL

Please enter 'yes' (two letters, lower-case.) if you want to allow
normal user to start or stop DSL connection (default yes): yes

FIREWALLING

Please choose the firewall rules to use. Note that these rules are
very basic. You are strongly encouraged to use a more sophisticated
firewall setup; however, these will provide basic security. If you
are running any servers on your machine, you must choose 'NONE' and
set up firewalling yourself. Otherwise, the firewall rules will deny
access to all standard servers like Web, e-mail, ftp, etc. If you
are using SSH, the rules will block outgoing SSH connections which
allocate a privileged source port.

The firewall choices are:
0 - NONE: This script will not set any firewall rules. You are responsible
for ensuring the security of your machine. You are STRONGLY
recommended to use some kind of firewall rules.
1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway
for a LAN
Choose a type of firewall (0-2): 1

Start this connection at boot time

Do you want to start this connection at boot time?
Please enter no or yes (default no):yes

** Summary of what you entered **

Ethernet Interface: eth0
User name: tahmasian147@aol.com
Activate-on-demand: No
DNS: Do not adjust
Firewalling: STANDALONE
User Control: yes
Accept these settings and adjust configuration files (y/n)? y
Adjusting /etc/sysconfig/network-scripts/ifcfg-ppp1
Adjusting /etc/ppp/chap-secrets and /etc/ppp/pap-secrets
(But first backing it up to /etc/ppp/chap-secrets.bak)
(But first backing it up to /etc/ppp/pap-secrets.bak)



Congratulations, it should be all set up!

Type '/sbin/ifup ppp1' to bring up your xDSL link and '/sbin/ifdown ppp1'
to bring it down.
Type '/sbin/adsl-status /etc/sysconfig/network-scripts/ifcfg-ppp1'
to see the link status.

[root@localhost root]#

so I typed in: /sbin/ifup ppp1
but nothign happened

Demonbane 12-23-2003 10:13 PM

Nothing happens probably means it didnt complain :-)
type
/sbin/adsl-status /etc/sysconfig/network-scripts/ifcfg-ppp1
and see what it says

or /sbin/ifconfig
if you see ppp1 with your usual ip address in "inet addr" then its working

NewBBB 12-23-2003 10:16 PM

i oepned mozilla but i wasn't connected to the internet

Demonbane 12-23-2003 10:22 PM

i've noticed that you entered nothing for DNS setup, you need either enter your ISP's DNS server address or 'server'
try connecting to http://66.218.71.87/ , if that works then DNS is not setup properly
make sure you see ppp1 from the output of /sbin/ifconfig, if its not there that means you're not connected

NewBBB 12-23-2003 10:41 PM

This is what happened:

[root@localhost root]# /sbin/adsl-status /etc/sysconfig/network-scripts/ifcfg-ppp1
Note: You have enabled demand-connection; adsl-status may be inaccurate.
adsl-status: Link is down (can't read pppoe PID file /var/run/pppoe-adsl.pid.pppoe)
[root@localhost root]# /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:40:F4:76:25:0B
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:198 errors:0 dropped:0 overruns:0 frame:0
TX packets:224 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:12720 (12.4 Kb) TX bytes:13692 (13.3 Kb)
Interrupt:11 Base address:0x8000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:902 errors:0 dropped:0 overruns:0 frame:0
TX packets:902 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:61309 (59.8 Kb) TX bytes:61309 (59.8 Kb)

Besides that, when I start linux, and it is loading those different thing I get to messages:

Brining up interface ppp0 [FAILED]
Brining up interface ppp1 [FAILED]

Demonbane 12-24-2003 01:18 AM

have a read and see if it helps:
http://www.roaringpenguin.com/produc...to-connect.txt


All times are GMT -5. The time now is 04:37 PM.