LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
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
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
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: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,177

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
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
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
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 09:46 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
Open Source Consulting | Domain Registration