Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-23-2001, 09:21 PM
|
#1
|
LQ Newbie
Registered: Dec 2001
Distribution: Redhat 7.1 Seawolf
Posts: 10
Rep:
|
@Home Cable Internet
i'm really hoping someone can help me...
i have @home cable internet, dynamic line (not DHCP)
i went to LINUXCONFIG
here's my name and domain with windows...
computer name: cc123456-X
domain: @home
how do i use this to get my internet??? Please help
thanks
cipher
|
|
|
12-23-2001, 10:01 PM
|
#2
|
Member
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986
Rep:
|
Here's a link to a list of @home-related configuration resources which might help.
<edit>
-note to self: read post thoroughly before responding...
</edit>
BTW- you say your addressing is dynamic, but not DHCP; could you clarify?
Last edited by DMR; 12-23-2001 at 10:37 PM.
|
|
|
12-23-2001, 10:03 PM
|
#3
|
Member
Registered: Nov 2001
Location: cheeseland
Distribution: slackware 8.0
Posts: 52
Rep:
|
i have the same thing as u. the @home domain means nothing unless u are using windoes. to connect u want to type the following command as root.
dhcpcd -h cc123456-X eth0
if u do not hav dhcpcd u will need to install it, but u probably do, most ditributions have it. if after u reboot the internet dosent work, type the command again.
|
|
|
12-24-2001, 10:45 AM
|
#4
|
LQ Newbie
Registered: Dec 2001
Distribution: Redhat 7.1 Seawolf
Posts: 10
Original Poster
Rep:
|
@Home Cable modem
i've asked this question before, but i still didn't get it working.
I have @Home internet, in windows i would use
Computer Name: cc123456-x
Host @home
is there anyone would can walk me through it so i can have internet at stop using windows.
do i use LINUXCONFIG?
please please help the newbie
thanks
|
|
|
12-24-2001, 01:38 PM
|
#5
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
are you using that name exactly or your assigned name ?
Sorry I had to ask that I know it's obvious.
|
|
|
12-24-2001, 01:47 PM
|
#6
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
these files contain the settings for the connection, substitute your @home name and nameservers.
/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
PEERDNS=yes
DHCP_HOSTNAME=cc111111-a
after connecting check this file
/etc/resolv.conf
nameserver 11.11.11.11
nameserver 22.22.22.22
it should have your nameservers
and check this
ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:11.11.11.111 Bcast:11.11.11.255 Mask:255.255.255.0
inet6 addr: xxxx::xxx:xxxx:xxxx:xxxx/10 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:12449 errors:0 dropped:0 overruns:0 frame:0
TX packets:7552 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:4490139 (4.2 Mb) TX bytes:961041 (938.5 Kb)
Interrupt:11 Base address:0xdc00
make sure your address is correct
then check this
route -n
the last line should be something like this
0.0.0.0 11.11.11.1 0.0.0.0 UG 0 0 0 eth0
|
|
|
12-24-2001, 05:59 PM
|
#7
|
LQ Newbie
Registered: Dec 2001
Distribution: Redhat 7.1 Seawolf
Posts: 10
Original Poster
Rep:
|
help on your reply
i recieved the replys above, which i'm grateful for. however, i don't understand them.
are they typed in the command window?
if so, do i switch to the directory '/etc/sysconfig/network-scripts'?
then do i type 'ifcfg-eth0'??? if so, nothing comes up.
As for 'DEVICE=eth0, BOOTPROTO=dhcp, etc' do these come up after typing ifcfg? or do i type them in? Also, is there a way to check to see if my NIC is working? 3Com509b
also, i switched to the directory '/etc/' and typed 'resolv.conf' but nothing happened?
i'm really sorry guys for being sooo much trouble, but i really would like to get this working.
i'll buy you a round a beers!!!
cipher:smash:
|
|
|
12-24-2001, 09:52 PM
|
#8
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
STEP 1:
this is a file you must edit... you can use a text editor of your choice.
/etc/sysconfig/network-scripts/ifcfg-eth0
the previous post shows the contents you need to have in it with exception of the cc????? number which is your account with @home and is your unique name only the one you are supposed to use will work.
------------------------------------------------
STEP 2:
this is a file which should be updated when the machine boots, only after the file above is fixed and the machine is rebooted.
/etc/resolv.conf
the DNS nameservers will be listed, if not you need to put them in, in the format the post above shows. You must obtain these from your ISP if it does not update the file through DHCP. It should be automatic.
NOTE: you can view the contents of the file by typing this command
cat /etc/resolv.conf
-------------------------------------------------
STEP 3
this is a command you type to check the configuration of your card after doing step one and booting the system. It should show your ip address that is assigned by @home.
ifconfig eth0

|
|
|
12-24-2001, 10:03 PM
|
#9
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
a few basics
cd = change directory, this is the same as dos
ls = same as dir in dos, shows a directory listing of non-hidden files
ls -a = shows all files, including hidden files and folders
ls -l = shows file attributes, this comes in handy for checking file permissions
example ls -la /etc/sysconfig/network-scripts/
total 176
drwxr-xr-x 2 root root 4096 Nov 28 03:49 .
drwxr-xr-x 8 root root 4096 Nov 27 22:23 ..
-rw------- 3 root root 100 Nov 28 03:49 ifcfg-eth0
-rw------- 1 root root 152 Nov 27 22:38 ifcfg-eth1
-rw------- 3 root root 152 Nov 27 22:12 ifcfg-eth2
example 2
ls -l /etc/sysconfig/network-scripts/ifcfg-eth0
-rw------- 3 root root 100 Nov 28 03:49 /etc/sysconfig/network-scripts/ifcfg-eth0
pwd = shows your current path
cp = copy
mv = move
there are over 3000 commands in most linux systems. hit Tab for a list of commands, start typing a command and hit TAB for a list of possibilities matching what you have typed
this is one of my systems when I hit TAB
Display all 3267 possibilities? (y or n)
Last edited by DavidPhillips; 12-24-2001 at 10:07 PM.
|
|
|
01-29-2002, 12:25 AM
|
#10
|
Member
Registered: Jan 2002
Location: Germany
Distribution: Kubuntu
Posts: 444
Rep:
|
redhat enigma
Hi all,
I have in lab about 5 red hat 7.2 enigmas.
in one the machines I experience the following problem.
System hangs, I cant login in tty also key board stops responding
i cant reboot/halt by login from other machine
but i am able to run programs, top, ps -ef, cc, java, etc
Pl help
Karthik
|
|
|
01-29-2002, 09:03 AM
|
#11
|
LQ Addict
Registered: May 2001
Location: Arizona
Distribution: 9.2 Mandy 1.4 Gentoo 5.1 FreeBSD WinXP
Posts: 1,166
Rep:
|
This is going to sound silly, but did you make sure that your BIOS setting is not at PnP?
I had this same problem for a long time until I fund out that PnP was active in the BIOS. The moment I turned it off, it started working.
As far as your settings, you need your computer / host name, you need to call @home and get your FULL host domain name and input it. It should be much longer than just that computer name they give you.
You could ask them for a static IP, but sometimes they wont do that.
|
|
|
All times are GMT -5. The time now is 06:14 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|