Connect wireless internet to wired with switch network

linceed

Reputable
Dec 18, 2014
8
0
4,510
I have two computers (which need to share files) connected through a switch. I have my internet service some 20 feet away and now I have to connect at least the primary computer to internet. If I use a USB wireless adapter, then the PC recognizes two networks, so I have internet connection with one computer, but no file sharing (i.e. the wired network is disabled). I already tried unplugging the switch and using USB wireless adapter on both computers, but it didn´t work. I have a D-Link DIR 505L which I was planning on using to bring the internet to the switch (does this make any sense?) but have no idea how to do this or even if is is the right solution. This D-Link can be set as: Router/AP, Repeater, Wi Fi Hot Spot.
 
Solution
Yes, that is a gateway (a router plus modem).

The point is that you must connect the Technicolor gateway to the switch with a cable or some alternative, or you would have to install wireless N adapters in both machines (or use wireless N USB adapters). If you use powerline, you would connect one to the gateway and one to the switch in place of a cable.

RealBeast

Titan
Moderator
What is your Internet source, a DSL or cable modem, or wireless from somewhere?

Are both machines automatically obtaining an IP address or static?

You should attach a real router to your modem (using the router WAN port) and attach the switch to the router (an LAN port) and the devices to the switch. They will all have Internet access and will be able to share data between them.

While it is possible that the 505L could potentially work, it lacks the features that most routers have and would be difficult at best to configure. Just buy an inexpensive TP-Link wireless N router.
 

linceed

Reputable
Dec 18, 2014
8
0
4,510
Internet source: DSL. I can connect to it wireless.
IP: automatic.
Attach a router to my modem and to switch: precisely that is the problem; I can't do it like this since the modem is some 20 feet away from the switch and the computers and there is no way to run a cable from the modem to the switch.
In your fourth paragraph you mention to buy a wireless router (money will not be an issue here, I am authorized to buy whatever is needed), but then how do I proceed? I am almost certain that my modem is a modem/router, so I thought maybe they could conflict? Thanks a lot!!!
 

RealBeast

Titan
Moderator
If you already have a gateway (modem + router) then you just need to attach the switch to an LAN port on the gateway. If you simply cannot run a cable that distance, the next choice would be to use a pair of high quality powerline adapters to get the connection to the switch.

If indeed you have a gateway, you do not want another device that does NAT or DHCP (like a router or the 505L).

What is the brand and model of your modem (or gateway)?
 

linceed

Reputable
Dec 18, 2014
8
0
4,510
It is a Technicolor DSLWTX 582PAHG model TG582N. Right now I have the two computers just connected to a switch with a cable for each PC to the switch. These are 2 ft apart from each other, so there is no problem there. The TG582N is the one providing internet (supplied by my ISP) and to which I can have access, and is the one 20 or 25 ft away. A cable from the TG582N to the switch is complicated because there are no ducts nor walls near by.
Why two powerline adapters? Shouldn't I connect just one to the switch?
 

RealBeast

Titan
Moderator
Yes, that is a gateway (a router plus modem).

The point is that you must connect the Technicolor gateway to the switch with a cable or some alternative, or you would have to install wireless N adapters in both machines (or use wireless N USB adapters). If you use powerline, you would connect one to the gateway and one to the switch in place of a cable.
 
Solution