LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-20-2017, 08:38 AM   #1
igadoter
Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slackware 12.2, scientific linux 6.4, knoppix 7.2, salix 14.1
Posts: 935

Rep: Reputation: Disabled
Want do some networking point me what to do


The thing is: I have two computers, and wifi router, however one of these computers is very old, so there is no simple way to obtain wifi connection. So I am thinking to connect these computers with simple switch, my notebook has eth and wlan interfaces so I think it will be..ee...gateway?.. for another. I mean the second should connect to internet via notebook. Help me to find explanation, recipe, howto's for what I am planning. I hope my explanation are clear enough.
 
Old 04-20-2017, 09:00 AM   #2
bassmadrigal
Senior Member
 
Registered: Nov 2003
Location: Newport News, VA
Distribution: Slackware
Posts: 4,223

Rep: Reputation: 2181Reputation: 2181Reputation: 2181Reputation: 2181Reputation: 2181Reputation: 2181Reputation: 2181Reputation: 2181Reputation: 2181Reputation: 2181Reputation: 2181
If you have a wireless router, there's no need to do anything fancy... unless your goal is to not use the router's dhcp server and gateway. All you need to do is hook up the devices to the router (either via ethernet or via wireless), and the router will provide them with an IP and the computers should be able to start talking to each other. As far as ethernet is concerned, just run netconfig as root and select the dhcp option. You might need to run /etc/rc.d/rc.inet1 restart_eth0 to restart the service and have it connect to the router to get the IP. For wireless, run netconfig and select Network Manager. Then when you're booted up, use the graphical client to connect to the wireless network.
 
Old 04-20-2017, 09:28 AM   #3
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Ireland
Distribution: Slackware, Crux, NetBSD
Posts: 1,262

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Quote:
Originally Posted by igadoter View Post
The thing is: I have two computers, and wifi router, however one of these computers is very old, so there is no simple way to obtain wifi connection. So I am thinking to connect these computers with simple switch, my notebook has eth and wlan interfaces so I think it will be..ee...gateway?.. for another. I mean the second should connect to internet via notebook. Help me to find explanation, recipe, howto's for what I am planning. I hope my explanation are clear enough.
If your wireless "router" is a MiFi unit without ethernet ports (quite common here in Ireland) you could connect your old PC to the laptop using a crossover cable (cheaper than switch), and connect the laptop wirelessly to the router. The wireless adapter on your laptop will have the same IP range as the router (192.168.1.xxx for example) while the ethernet adapter will have an address in a different range (172.16.1.xxx for example). Your PC should be given an address in the same range as the laptop's ethernet adapter. IP forwarding should then be enabled on the laptop, and the old PC should have its gateway set to the ethernet address of the laptop, with DNS according to your preference.

Last edited by Gerard Lally; 04-20-2017 at 09:36 AM.
 
2 members found this post helpful.
Old 04-20-2017, 09:56 AM   #4
BW-userx
Senior Member
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Void Linux / Slackware 14.2
Posts: 4,692

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
yeah wireless router, or wired router that'd get you hook up together
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Implement Low Speed Point-to-Point Data Link via Linux networking? Paul_N Linux - Networking 2 06-30-2013 03:47 PM
Networking through a DLink Access Point geoff-47 Linux - Networking 8 02-26-2007 03:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration