LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   dchp dsl/router eth0 redhat 7.0 (https://www.linuxquestions.org/questions/linux-newbie-8/dchp-dsl-router-eth0-redhat-7-0-a-67280/)

BlueKrystal22 06-22-2003 01:54 PM

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

BlueKrystal22 06-22-2003 02:25 PM

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

Looking_Lost 06-22-2003 02:47 PM

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?

tr6_linque 06-22-2003 06:12 PM

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)

BlueKrystal22 06-22-2003 08:09 PM

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

jdc2048 06-22-2003 09:01 PM

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.

BlueKrystal22 06-23-2003 02:32 AM

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?

lhiggins 06-23-2003 03:21 AM

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.

jdc2048 06-23-2003 03:47 AM

Lets get the output of an "ifconfig -a" (run as root of course). This will help us see what interfaces it is recognizing.

evanmars 06-23-2003 07:26 AM

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.

BlueKrystal22 06-23-2003 01:33 PM

>> 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]

BlueKrystal22 06-23-2003 05:59 PM

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?

evanmars 06-23-2003 06:03 PM

create a FAT32 partition on your hard drive. both linux and windows will be able to read and write from/to it.

jdc2048 06-23-2003 07:49 PM

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.

lhiggins 06-23-2003 08:29 PM

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


All times are GMT -5. The time now is 03:08 AM.