Dead Hackers Society
Other BBSes »
 
 

Sommarhack 2024

Silly Venture 2024 SE
Demoscene  Coding  CT60  Buy/sell

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]

Topic Posted by  Date 
MintNet and Eternat Falcon060 Dec,15.2006-19:54
  Re: MintNet and Eternat evil Dec,16.2006-13:21
    Re: MintNet and Eternat stimpy Dec,16.2006-20:12
      Re: MintNet and Eternat evil Dec,17.2006-10:42
        Re: MintNet and Eternat stimpy Dec,17.2006-13:56
          Re: MintNet and Eternat Paolo Dec,19.2006-00:56
  Re: MintNet and Eternat hencox Feb,04.2007-01:49


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

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.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson