Other BBSes »
| |
|
|
|
CT60 and related things BBS
Re: MintNet and Eternat |
Posted by: evil
|
Dec,16.2006-13:21
|
It's easy, just three lines to edit in three files.
I'm not sure what device name ethernat has, but let's call it ne0 for now.
When booted, start a shell and type "ifconfig -a", that should list all available network interfaces, including ne0.
It should look something like:
ne0: flags=0x2<BROADCAST>
If you get this, then you know the driver is loaded OK.
Next, edit:
/etc/sysconfig/config.if
Add a line like:
ne0 192.168.0.3 192.168.0.0 255.255.255.0 192.168.0.255
That set up your interface (ne0) to ip address 192.168.0.3, network 192.168.0.0, netmask 255.255.255.0 and broadcast 192.168.0.255
Make sure not to add any blank line before or after the above line!
Next, edit:
/etc/sysconfig/defaultroute
Add a line like:
ne0 192.168.0.1
This is your internet gateway address.
Next, edit:
/etc/resolv.conf
Add a line like:
nameserver 192.168.0.1
This is your Domain Name Server (DNS) resolving IP-adresses.
One thing more, use LF (not CRLF) line-endings when editing. In QED select "Unix" line endings, or use nano, pico, vi instead of QED. And, if the network device is not called ne0, make sure to change my examples to the actual name.
That's all, reboot and enjoy.
--
Anders Eriksson
ae@dhs.nu
|
[All messages in this thread] [Start new thread]
What's the anti-troll code? That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
|