DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 1 Week Ago
Freezr Freezr is offline
New User
 
Join Date: May 2022
Posts: 8
Default Cross cable connection from OpenBSD to Linux, help!

Hi Guys,

I am sorry for being so unashamed but I need to connect the RPI2 to my OpenBSD Net(crap)book to start doing (hopefully) Pico-8 development.

Quote:
For the chronicle TIC-80 freezes the Crapbook...
My idea is to connect OpenBSD/Crapbook to Devuan/RPI2 through a crossing Ethernet cable; with my few spare time available I found on internet that is feasible but I haven't found any monkey example to copy...

I know (more or less) how to setup a static connection on Linux but I have very few experience with OpenBSD, so far my setup only says:

Code:
autoconf
Which is pretty neat but I need to use OpenBSD as gateway(?) therefore any suggestion or link is highly appreciated!

Thanks!

F.

Last edited by Freezr; 1 Week Ago at 05:05 PM. Reason: many typos...
Reply With Quote
  #2   (View Single Post)  
Old 1 Week Ago
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bloaty McBloatFace
 
Join Date: Dec 2015
Location: London
Posts: 314
Default

Set the IP address and netmask from OpenBSD with
Code:
ifconfig $interface inet 10.0.0.1/24
And then from the Pi:
Code:
ip a add 10.0.0.2/24 dev $interface
In both cases replace $interface with the actual interface name.

Once that is done the two address should be visible from each machine.

No gateway is needed for a cross-cable connection, at least AFAIK. They just need to be on the same subnet.

Disclaimer: I've never actually tried this.
Reply With Quote
  #3   (View Single Post)  
Old 1 Week Ago
Freezr Freezr is offline
New User
 
Join Date: May 2022
Posts: 8
Default

Are you always so amazing?

Wherever you are, you are always helping people out!

Thanks!

Last edited by Freezr; 1 Week Ago at 08:49 PM.
Reply With Quote
  #4   (View Single Post)  
Old 1 Day Ago
Freezr Freezr is offline
New User
 
Join Date: May 2022
Posts: 8
Default

Eventually I edit both configuration files manually and it worked like a charm, I could connect from OpenBSD/Netobook to the Devuan/RPI2 through VNC and this was, at least for me, pretty amazing!
Reply With Quote
Reply

Tags
crossover, ethernet

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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
simple openbsd home router cable modem local lan Nivekg OpenBSD General 11 18th April 2016 11:24 PM
Cross compiling from Linux to OpenBSD with gcc NickF_93 OpenBSD Packages and Ports 5 23rd March 2015 12:39 PM
Kernel and cross compiling on OpenBSD Mr-Biscuit Programming 3 7th September 2010 04:35 AM
Working dial-up connection - No Client Connection vigol FreeBSD General 5 22nd November 2009 10:59 PM
DHCP Cable Connection Fail fmgil OpenBSD General 4 1st September 2009 05:18 PM


All times are GMT. The time now is 11:04 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick