Unix Technical Forum

Internet through network

This is a discussion on Internet through network within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I've just installed Slackware on my computer, multibooting with Windows XP using Symantec BootMagic. When I'm on Windows I'm ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 01:56 PM
Neoecs
 
Posts: n/a
Default Internet through network

I've just installed Slackware on my computer, multibooting with Windows
XP using Symantec BootMagic. When I'm on Windows I'm sharing internet
through an network:

ADSLmodem -----> Router ------> My computer

I'm recieving my IP automatic from the router. How can I be able to do
the same in Linux? I scanned the network using nMap, 192.168.*.*, but I
only found my own computer. Then I checked in the /dev/ folder for
anything named eth0 or similar, but I didn't find anything. Is the
network card not installed properly? Should I manually write the
eth0-file (if it's a file)? How do I set up the internet properly so I
can use Konqueror or any other browser? I haven't used Linux before, so
keep easy on me and btw, my english sucks, it's not my main
language.

Thanks!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 01:56 PM
richard
 
Posts: n/a
Default Re: Internet through network

Neoecs wrote:

> I've just installed Slackware on my computer, multibooting with Windows
> XP using Symantec BootMagic. When I'm on Windows I'm sharing internet
> through an network:
>
> ADSLmodem -----> Router ------> My computer
>
> I'm recieving my IP automatic from the router. How can I be able to do
> the same in Linux? I scanned the network using nMap, 192.168.*.*, but I
> only found my own computer. Then I checked in the /dev/ folder for
> anything named eth0 or similar, but I didn't find anything. Is the
> network card not installed properly? Should I manually write the
> eth0-file (if it's a file)? How do I set up the internet properly so I
> can use Konqueror or any other browser? I haven't used Linux before, so
> keep easy on me and btw, my english sucks, it's not my main
> language.
>
> Thanks!


as the root user you should be able to issue the command
ifconfig

this should tell you if eth0 is up and running. e.g.
eth0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:192.168.0.10 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:79 errors:0 dropped:0 overruns:0 frame:0
TX packets:62 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:43604 (42.5 Kb) TX bytes:5470 (5.3 Kb)
Interrupt:16 Base address:0xc000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
if there is no eth0 section then your network card will need to be set up.

Using the command
netconfig
should set up your network. Hostname is what you call your computer, domain
can be something like dummy or none (just type a word), then select DHCP,
for the "SET DHCP NAME" just press enter. When it is finished type the
following command

/etc/rc.d/rc.inet1 restart

to restart the eth0 interface. It should say something like (not exactly)
dhcpcd: MAC address = 00:00:00:00:00:00
dhcpcd: your IP address = 192.168.0.10
then your network should be working

Richard
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 01:56 PM
Niki Kovacs
 
Posts: n/a
Default Re: Internet through network

richard wrote:

> as the root user you should be able to issue the command
> ifconfig


and even as a normal user: either /sbin/ifconfig, or add /sbin to your PATH.

Cheers,

Niki Kovacs
--
I'm not as think as you stoned I am.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:49 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com