General discussion

Locked

Help me edit vi to configure files for m

By lmcfarrin ·
how do I edit vi files (etc) to install my modem? Need help please. I don't understand what i'm doing.

After it is installed how do I send a email message?

Obviously you can see I'm new at Linux. If at all possible could you display the necessary string I need to complete the editing process?

This conversation is currently closed to new comments.

11 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Help me edit vi to configure files for m

Hi!

If you are totally new to linux, get RedHat 6.1 or Latest SuSe if you don't have one of them allready, they are almost plug'n'play when it comes to hardware.

It's hard to say how you should do when I don't know what Linux version you are running.

Have you checked if your cable modem is supported by Linux ?

You'll need to compile and load the driver for your cable modem then you just set it up like a standard NIC, Network Interface Card.

Read the Network-HOWTO and a few other HOWTOs on NICs and network.

/Hasse

Collapse -

Help me edit vi to configure files for m

by lmcfarrin In reply to Help me edit vi to config ...

The question was auto-closed by TechRepublic

Collapse -

Help me edit vi to configure files for m

by moflic In reply to Help me edit vi to config ...

Cable modems usually connect to an Ethernet card in your PC. No configuration of the cable modem is necessary, but of the NIC. Use mc to edit files (some kind of NC for dos - vi is somewhat unfriendly for beginners). Use linuxconf to configure just about anything you need for the start. Then, you can try and edit your scripts and other stuff.

Collapse -

Help me edit vi to configure files for m

by lmcfarrin In reply to Help me edit vi to config ...

The question was auto-closed by TechRepublic

Collapse -

Help me edit vi to configure files for m

by hypersoniq MCSE In reply to Help me edit vi to config ...

OK, step one...
Make sure your modem doesn't have the dreaded "Designed for Windows 95/98" sticker, as a winmodem and it's software are not compatible with Linux.
As for modem setup and getting e-mail, all the step by step can be found here....
http://metalab.unc.edu/mdw/HOWTO/ISP-Hookup-HOWTO.html
Finally, vi, the text editor, has full instructions available by typing
man vi
or
info vi (depending on the system)
that spell it all out. Vi, however is archaic at best, emacs is easier, andxemacs is my favorite, it's close to a "win" wordprocessor, only with tons more power.
hope this helps :-)

Collapse -

Help me edit vi to configure files for m

by lmcfarrin In reply to Help me edit vi to config ...

The question was auto-closed by TechRepublic

Collapse -

Help me edit vi to configure files for m

by jcmcintyre In reply to Help me edit vi to config ...

If you're new to Linux, I would suggest you stay from vi for now. vi is a very flexible editor, but it can be overwhelming to a new user. Instead, try using pico or emacs to edit your file. pico is by far the easiest linux text editor to use. All ofthe commands are visible at the bottom of the window.
Now for your cable modem question.

cd to /etc/sysconfig/network-scripts
Type
pico ifcfg-eth0 at the command prompt
Edit ifcfg-eth0 so that the file contains the following information

DEVICE=ETH0
BOOTPROTO=dhcp
IPADDR=0.0.0.0
NETMASK=0.0.0.0
BROADCAST=
NETWORK=
USERCTL=no
ONBOOT=yes

Collapse -

Help me edit vi to configure files for m

by lmcfarrin In reply to Help me edit vi to config ...

The question was auto-closed by TechRepublic

Collapse -

Help me edit vi to configure files for m

by ariev In reply to Help me edit vi to config ...

Hi

If your cable modem has an ethernet interface, and you have a nic in you PC, all you have to do is to configure your nic....
In most cases all configuration would be done via DHCP, so all you have to do is login as root, open a terminal and type /bin/netconf
this should open a configuration screen for networking issues.
go to the "basic host information", adaptor 1, enable it, and tick the DHCP checkbox
activate the changes and return to the terminal.
now type "/sbin/ifconfig", you should get an entry for an interface called eth0, with an IP address you got from your ISP, also type "/sbin/route -n", you should get a line with a 0.0.0.0 destination, if you do, then all is well, and you can run netscape and enjoy....
otherwise you have some more complicated problem.... and to solve it more info is needed....

Collapse -

Help me edit vi to configure files for m

by lmcfarrin In reply to Help me edit vi to config ...

The question was auto-closed by TechRepublic

Back to Linux Forum
11 total posts (Page 1 of 2)   01 | 02   Next

Related Discussions

Related Forums