LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 05-08-2020, 07:44 AM   #1
G-Raps
Member
 
Registered: Apr 2020
Location: California, USA
Distribution: Debian 12.5, MX Linux 23.2, Ubuntu 22.04
Posts: 43

Rep: Reputation: Disabled
Connecting laptops together: Macbook Pro and Lenovo W550s


Hi All,

Recently, I installed a Macbook Pro, early-2011, 15" laptop with Debian Buster 10.3.0. Since the Broadcom BCM4331 wireless card in the Macbook was not working, I decided to link this laptop to a working laptop with wireless networking, a Lenovo W550s. The Lenovo has an Intel Corporation Wireless 7265 card, running Debian 10.3.0 successfully.

How do I bridge the two laptops so I can use the Lenovo networking on the Macbook ? I was in a channel in irc (freenode.net, ##linux) that mentioned doing the following: just ssh -D 1080 to the laptop with internet and use that as a socks proxy on laptop2

How do I set up the Lenovo to have a binding address of 1080 ?
 
Old 05-08-2020, 08:42 AM   #2
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by G-Raps View Post
Since the Broadcom BCM4331 wireless card in the Macbook was not working, I decided to link this laptop to a working laptop with wireless networking, a Lenovo W550s.

So, if the Wireless card is not working, how can you "link" two laptops with wireless networking?

You need a working adaptor first before thinking about connection protocol.

Do you have an Ethernet wired adaptor that works? If you have a USB port on your Mac, you could use a compatible USB Wireless adaptor.
 
Old 05-08-2020, 09:42 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
Nothing has to be setup on the Lenovo for the proxy except for ssh running and the firewall allowing port 1080 if running.

You need to configure whatever application you want to run on the Mac to use the proxy. If you want to browse the internet setup Safari port 1080 as proxy.

Safari > Preferences, then click Advanced.
Click Change Settings (next to Proxies) to open the Network pane of System Preferences.
Change the proxy to use 127.0.0.1 port 1080

You could configure the Lenovo to be a NAT router which requires DHCP server or bridge the wireless to wired connection. Then you do not need to mess with proxy settings for each service.

https://wiki.debian.org/BridgeNetworkConnections

Last edited by michaelk; 05-08-2020 at 09:56 AM.
 
1 members found this post helpful.
Old 05-08-2020, 09:54 AM   #4
G-Raps
Member
 
Registered: Apr 2020
Location: California, USA
Distribution: Debian 12.5, MX Linux 23.2, Ubuntu 22.04
Posts: 43

Original Poster
Rep: Reputation: Disabled
dc.901:
You're right...I am not using the wireless adapter on the Macbook, but I AM using the ethernet port to connect a wired cat5 cable to the ethernet port of the other laptop. So I am using ethernet adapters.

michaelk:
Would that port (127.0.0.1:1080) be reachable with a command line instruction ? I am on runlevel 3 (nongraphical with networking capable) on the Macbook Pro, and on runlevel 5 (graphical with networking capable) on the Lenovo. I am not able to get the X display to work properly on the Macbook, but command line is workable.
 
Old 05-08-2020, 10:15 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
What applications do you run on the Mac that connects to the internet?
 
Old 05-08-2020, 10:57 AM   #6
G-Raps
Member
 
Registered: Apr 2020
Location: California, USA
Distribution: Debian 12.5, MX Linux 23.2, Ubuntu 22.04
Posts: 43

Original Poster
Rep: Reputation: Disabled
michaelk:
Currently, there is Debian Linux 10.3.0 on the Macbook. It is running on runlevel 3 (nongraphical, network capable), and can connect to my wireless router via ethernet port. So I have a working ethernet adapter now. I am working with the bridge connection that you suggested I use, and so far, so good. I just have to issue the equivalent of an "ifup br0" to get the two laptops to talk.

The Macbook Pro still has its MacOS partition intact. I have repartitioned the oem hard drive to accommodate a Linux file system, the Debian install. I can still use the wireless network adapter (Broadcom BCM4331) in MacOS, and do Apple things. I am just troubleshooting the Debian installation to see if I can get the wireless adapter card working and the X display to bring up a graphical user interface.

Once I get either the wireless adapter and/or X display properly configured, I will keep the installation on the Macbook. Previously, I installed Ubuntu 20.04 on the Macbook and no problems were encountered.

I am perfectly fine with using Ubuntu on this Macbook Pro. The only problems that I have with Debian on the Macbook should be resolved shortly.
 
  


Reply

Tags
lenovo, macbook pro



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
Macbook pro 13'' vs 1650Ti Lenovo Gaming Laptop Olympiapeter Linux - Laptop and Netbook 4 07-23-2019 03:52 PM
I am inheriting a MacBook Pro (last year's model). What is the best Linux system for a MacBook? JMacSmith Linux - Desktop 4 02-27-2018 10:37 PM
Slackware on a Lenovo W550s statguy Slackware 32 02-02-2016 08:50 AM
LXer: System76 Serval Pro vs. Gazelle Pro Linux Laptops LXer Syndicated Linux News 0 09-01-2013 04:03 AM
Linux on a macbook/macbook pro... any experiences/problems, or is it even necessary? enigma_0Z Linux - Laptop and Netbook 13 09-14-2007 10:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 11:11 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