LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-22-2003, 01:54 PM   #1
BlueKrystal22
LQ Newbie
 
Registered: Jun 2003
Location: Monterey, CA
Distribution: Linux 7.0
Posts: 8

Rep: Reputation: 0
dchp dsl/router eth0 redhat 7.0


Hi. I can't seem to figure out how to get my ethernet card set up. I'm in Redhat 7.0, I've tried netcfg - gives me error msgs. I found netconfig and tried to get into that. Couldn't figure out what I needed. I have a dual boot with Win98SE (which is what I'm in now), and I'm on a freshly formatted and installed - windows seemed to find it's way to the router and out to you allright. I'm not sure what I need for Linux.

I'm getting so sick of windows crashing after the 3rd reformat and reinstall (granted, over a few years, but still...) that I'm ready to finally figure this stuff out. (see below) ThanX

~K
 
Old 06-22-2003, 02:25 PM   #2
BlueKrystal22
LQ Newbie
 
Registered: Jun 2003
Location: Monterey, CA
Distribution: Linux 7.0
Posts: 8

Original Poster
Rep: Reputation: 0
Okay, basic questions...

How do I view print-outs page by page. For example, when I ls a large directory, I can only see the bottom of it, whatever is left on the screen. Also, is there a trick for this in DOS? The main reason I need this is so that I can view lspci -v to find out more about setting up my dchp/dsl, and I can only see the last two drivers.

What's the command to shutdown linux? Mmm, as I'm writing this, I'm thinking it's 'quit'. I've tried (of course) shutdown and exit. Can you tell what OS's are in my background?

When I get into gnome by startx, some of the windows (such as for the basic games) open too large for my monitor. How do I fix this?

Thank you for having a newbie forum... makes me feel better than posting this right under more complex questions.

~K
 
Old 06-22-2003, 02:47 PM   #3
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
lspci -v | more (DOS dir /p as far as I recall)

shutdown -h now (immediate close)



Quote:
Can you tell what OS's are in my background?
Not from where I'm standing not sure what you mean

Possibly increase the screen resolution in gnome?
 
Old 06-22-2003, 06:12 PM   #4
tr6_linque
LQ Newbie
 
Registered: Jun 2003
Posts: 5

Rep: Reputation: 0
to run a command ./(name of file)
reboot shutdown -r now
get help on a prog (program name) - -help
get usage on a prog (program name) - -usage
calculator kcalc
lsmod lists the modules that are loaded
scan for new hardware kudzu (to see the hardware, just add a -p)
delete file rm (file name)
delete directory rm -rf (directory name)

Last edited by tr6_linque; 06-22-2003 at 06:13 PM.
 
Old 06-22-2003, 08:09 PM   #5
BlueKrystal22
LQ Newbie
 
Registered: Jun 2003
Location: Monterey, CA
Distribution: Linux 7.0
Posts: 8

Original Poster
Rep: Reputation: 0
Thank you...

Someone said something about setting my NIC to DHCP.

How might I do that? Through netconfig? In windows, all I did was set the driver for my D-Link ethernet card and it was happy to connect me. I'm going through a router, so I don't believe I need any tools or fancy programs. I believe I'm just missing something simple because I'm not used to the setup.

After searching through numerous sites, it looks like I need to make sure the correct module (is that the same as driver?) is working. When I lspic -v, I get 'Ethernet controller: D-Link system Inc: Unknown device 1300 (rev 10)'

I'll see if I can get more specific info on my settings...

ThanX
 
Old 06-22-2003, 09:01 PM   #6
jdc2048
Member
 
Registered: Jul 2002
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391

Rep: Reputation: 30
Does your DSL router do DHCP for your network?

If so, did you try doing an "ifup eth0" from a command line? (That's a zero at the end of eth, you would increment this for multiple interfaces)

I believe this command will try to bring the NIC up as a DHCP client. (I can't find the man page for it to ensure that). But the syntax is as shown above. Try running it as root.

I am not finding "netconfig" command in RH8, I have the "redhat-config-network" command which brings up a gui interface. I haven't used 7.0 in a while, but I believe there is a similar (if not the same) gui interface. If you can find that, then edit the interface that is shown, you will be able to set the NIC to automatically obtain an IP address using DHCP.
 
Old 06-23-2003, 02:32 AM   #7
BlueKrystal22
LQ Newbie
 
Registered: Jun 2003
Location: Monterey, CA
Distribution: Linux 7.0
Posts: 8

Original Poster
Rep: Reputation: 0
okay, logged as root...

'ifup eth0' gives me 'Delaying eth0 initialization'
'ifdown eth0' gives me nothing, as if it worked fine.

when I run netconf from sbin...

Basic host information
host name + domain = localhost.localdomain
Adaptor 1
[x] enabled
config mode (o) Dhcp
Net device eth0
Kernel Module <nothing??>

What am I missing?
 
Old 06-23-2003, 03:21 AM   #8
lhiggins
Member
 
Registered: Jan 2003
Location: Sydney, Australia
Distribution: FedoraCore
Posts: 105

Rep: Reputation: 15
I don't know how to set it to get a ip address. You might like to try 'dhcpcd eth0'. Then you can use 'ifconfig' to view information about your NIC like 'ipconfig /all' windows. Then you can see what IP address it has.

Your might like to try Red Hat 9. I would recommend it more for a nooby.
 
Old 06-23-2003, 03:47 AM   #9
jdc2048
Member
 
Registered: Jul 2002
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391

Rep: Reputation: 30
Lets get the output of an "ifconfig -a" (run as root of course). This will help us see what interfaces it is recognizing.
 
Old 06-23-2003, 07:26 AM   #10
evanmars
Member
 
Registered: Jun 2003
Distribution: Slackware - 14.0
Posts: 40

Rep: Reputation: 2
You might check out www.roaringpenguin.com/pppoe/. This is what I used for my DSL connection. Simple and pretty straight-forward to set up.
 
Old 06-23-2003, 01:33 PM   #11
BlueKrystal22
LQ Newbie
 
Registered: Jun 2003
Location: Monterey, CA
Distribution: Linux 7.0
Posts: 8

Original Poster
Rep: Reputation: 0
>> output of 'lsmod':

lockd 31176 1 (autoclean)
sunrpc 52964 1 (autoclean) [lockd]
agpgart 18600 0 (unused)
es1370 22548 0
soundcore 2596 4 [es1370]

>> output of 'ifconfig -a':

lo Link encap: Local Loopback
inet addr: 127.0.0.1 Mask: 255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overrun:0 carrier:0
collisions:0 txqueuelen:0

>> during startup, these are the failures (nothing fails at shutdown):

Initializing USB controller (usb-ohci): /lib/modules/2.2.16-22/usb/usb-ohci.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
init_module: Device or resource busy
/lib/modules/2.2.16-22/usb/usb-ohc i.o failed
/lib/modules/2/2/16-22/usb-ohci.o: insmod usb-ohci failed
[FAILED]

Bringing up interface eth0: Delaying eth0 initialization.
[FAILED]
 
Old 06-23-2003, 05:59 PM   #12
BlueKrystal22
LQ Newbie
 
Registered: Jun 2003
Location: Monterey, CA
Distribution: Linux 7.0
Posts: 8

Original Poster
Rep: Reputation: 0
Is there a way to access my windows partitions through Linux? Or a way to access my Linux partitions through windows?

I can download the drivers in windows onto c:, but I can't install them from Linux.

If not, does anyone know of a good cd-burning program that is shareware and downloadable?
 
Old 06-23-2003, 06:03 PM   #13
evanmars
Member
 
Registered: Jun 2003
Distribution: Slackware - 14.0
Posts: 40

Rep: Reputation: 2
create a FAT32 partition on your hard drive. both linux and windows will be able to read and write from/to it.
 
Old 06-23-2003, 07:49 PM   #14
jdc2048
Member
 
Registered: Jul 2002
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391

Rep: Reputation: 30
In a cursory glance back through this post, I do not see where you posted details of your ethernet card. Is it a USB connected DSL modem? Posting specifics would be helpful in the future.

You may want to get a mod to move this to "Linux-Hardware" as well. It appears to be a H/W related problem.

<edit>

Is there a reason you are using RH 7.0, when there are about 5-6 revisions since then? 7.0 still installs the 2.2 kernel by default. It was capable of using the 2.4 kernel, but you have to DL and install it yourself.

Last edited by jdc2048; 06-23-2003 at 07:51 PM.
 
Old 06-23-2003, 08:29 PM   #15
lhiggins
Member
 
Registered: Jan 2003
Location: Sydney, Australia
Distribution: FedoraCore
Posts: 105

Rep: Reputation: 15
Yes you can read your NTFS and FAT32 partitions in linux. See the mount command for more details. NTFS partitions cannot be written to from linux and sometimes you need to install a small kernel module to enable NTFS read support. Only use it with 2.4 Kernels but. You might as well start with redhat 9.

You can read your Linux EXT2/3 Paritions in windows with a small program called explore2FS. You can find it at sourceforge.net
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Zoom X5 5554a DSL Router w/Redhat 7.3 Blake Linux - Hardware 3 11-17-2005 09:52 AM
Redhat 7.2, Linksys Router, DCHP Problem elpot2 Linux - Networking 6 10-13-2003 09:10 PM
redhat 8 and linksys router, dsl richardg Linux - Newbie 3 07-16-2003 03:52 PM
Router + DSL + RedHat 8.0 = Trouble the_styler Linux - Networking 1 04-05-2003 01:09 PM
RedHat 6.0 - no network/internet connectivity with Linksys 4-Port Cable/DSL Router AnthraxAssassin Linux - Networking 1 11-19-2002 04:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration