|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Quote:
Quote:
If the connection between your Alix box & your laptop is directly through a single cable, it must be a cross-over Ethernet cable. |
|
||||
Thank you, wlm2, for posting your topology.
Your gateway router is a Linksys WRT610N. I don't own one, but I have reviewed the user guide at http://homesupport.cisco.com/en-us/s...outers/WRT610N and have determined:
|
|
|||
With Ethernet cable straight-through.
|
|
|||
wlm2, either respond to all of the questions posed to you, or specify in your answers which question is being answered. We cannot read your mind.
|
|
||||
wlm2, while you are coming up with answers, I have thought of a topology that uses your existing equipment, and permits protection of your Windows laptop by OpenBSD and the ALIX device... including WiFi.
Code:
{Internet} -- [ISP equipment] -- [ALIX] -- [Linksys router's switch] -- [Windows laptop] The connection between the ALIX and the Linksys box is another point-to-point cable, connected to one of the router's 4-port switch connections. The connection between the Linksys box and the laptop is another of the router's 4-port switch connections. DHCP services can be provided by the Linksys box to all devices, since you are unable to find and eliminate syntax errors in your dhcpd configuration file. The Linksys device acts as an Ethernet switch and WiFi access point bridge. It is no longer used as a router. |
|
|||
Dear jggimi,
My name is Igor and I'm wlm2's friend. I think he confused you a bit and I'll try to make some order. We are trying to create an Ethernet-cellular backup system on an Alix6e1 board under openBSD environment The cellular network is turned on only when the Ethernet is down and when the Ethernet is up again the cellular network is turned off. Minimal cellular usage. The board: Alix6e1 by PCENGINS Board specs: http://pcengines.ch/alix6e1.htm Board schema: http://pcengines.ch/schema/alix6e.pdf Board booklet: http://pcengines.ch/pdf/alix2.pdf The Net stick (for cellular connection): Icon 225 by OPTION Net stick specs: http://www.option.com/en/products/pr...odems/icon225/ The operating system on the board: OPENBSD 4.9 The Ethernet connection comes out from a router connected to a cable or ADSL modem I think some mistakes were made in his setup. Again thank you for you help and if possible we'd like to start over with your guidence. How can we reset openbsd to it's original after install settings? |
|
||||
Igor, please create your own userid here, rather than using wlm2's, so that we can better understand who is communicating.
Quote:
Note: OpenBSD 5.0-release is expected to be made available on or about 1 November; 4.9-release will only be supported until 5.1-release, expected on or about 1 May 2012. You may wish to take the days between now and 5.0's release to design an appropriate solution.Would the topology I've outlined in my most recent posting, where wlm2's Linksys router only acts as a switch and WiFi access point, be acceptable? If so, the addition of the cellular modem for connection to a secondary ISP in the event of an outage is easy enough to add. |
|
|||
My own account
Igor here- Opened an account.
Our initial instalation was done using this guide: http://markshroyer.com/2010/12/openbsd-alix-via-ubuntu/ It was extremly complicated and we are afraid to be stuck again. Do you have an easy way to reinstall openbsd 4.9 now that we already have it installed on the board ( the board has a CF that can be removed and we have a card reader) Last edited by ocicat; 18th October 2011 at 02:53 PM. Reason: Enabled URL. |
|
||||
Welcome, Igor.
Since OpenBSD is already installed, you only need two things to re-install:
The installation filesets (.tgz files) and kernels (bsd*) are also in that directory. If the Alix system cannot reach the Internet, these can be preloaded onto a USB stick (in FAT format) and used during re-install. To boot the RAMDISK kernel, if it is in the root directory, all you need do is reboot the ALIX system. At the boot> prompt, type bsd.rd and press Enter. After this kernel boots, you will be prompted to Install, Update, or drop to the Shell. If you do not have an Internet connection, insert your USB stick with the pre-fetched filesets and kernels after booting, but before running the install script. The kernel will assign the stick to a pseudo SCSI drive, sd0 or sd1 or some other number, and you will see this assignment on the console. If there is only a single MBR partition on the stick, inform the install script to find the filesets on disk, on that device, then in the "i" partition. ---- To configure your netstick for dialing an ISP, please see wlm2's thread from August where we gave information on configuration. We pointed wlm2 to two man pages, one of which had several PPP configuration examples, and we pointed wlm2 to a section of the OpenBSD FAQ on configuring PPP. |
|
|||
we are reinstalling the system.
vr0 was set as DHCP. Sets are downloading. Now we'd like to set up our lan interface- the DHCP server (as we understand this is vr1) I remind you that our board has two network ports and we want it to serve as a gateway. How should we proceed? regarding the topology you suggested we would like to change it this way: {Internet} -- [ISP equipment] -- [router's switch]-- [ALIX] -- [Windows laptop] The reason is that we want to be able to connect the device on different networks (cable/ADSL/ inside a private network) each type has a different connection protocol. The Net stick will be connected to the Alix board and we we'll need to set up a cellular ISP dialup protocol for it- hopefuly you'll help us with that. |
|
||||
Thank you, Igor.
I hope your installation goes smoothly. As I recall, you use a serial console; don't forget to set that up during the installation. If you forget, you will not have a console, and will need to either access the system via a network connection using ssh(1), or mount that CF card in another OpenBSD system to be able to write an /etc/boot.conf file. FAQ 6 will be your best friend for setting up your network configuration:
When you have specific questions, please ask. |
|
||||
Oh, and Igor, regarding this terminal net of your topology:
Code:
[ALIX] -- [Windows laptop] See the Cabling discussion in http://en.wikipedia.org/wiki/Ethernet_over_twisted_pair Last edited by jggimi; 18th October 2011 at 06:03 PM. |
|
|||
How will we create this switching protocol: The cellular network is turned on only when the Ethernet is down and when the Ethernet is up again the cellular network is turned off.
Minimal cellular usage. can you give us a few pointers or an example of something simular and how it's done? |
|
||||
See the ifstated(8) man page.
|
|
||||
I do not usually recommend using how-to documents found on the Internet.
Do not use the ifstated.conf script found here unless you understand the purpose of every single line in it. Never blindly copy and paste without knowledge. Questions about this script should be referred to the author, not here. With that disclaimer, you may find this helpful. http://www.chrisk.de/blog/2011/03/ho...er-on-openbsd/ |
|
||||
Igor,
I noticed the plea for help that you posted on the chrisk.de blog. For the level of assistance you requested of the script's author, which was for basic administration help, it appears to me that both you and wlm2 have jumped into deep water without first learning how to swim. Your project began in June or earlier this year. It is nearly November, and you are starting over at the beginning. From here -- though I may be wrong -- it appears that a skilled technician could create a configuration for you in a few hours, unless, of course, there is something unique about your Netstick device that requires significant testing or development. Perhaps you and wlm2 might consider seeking professional OpenBSD support locally. There may be someone who can assist you locally, and help you deploy a functional solution. See www.openbsd.org/support.html for a list of service providers, by country. ---- This forum community is a collection of BSD users. While we volunteer our help where we can on specific issues, the forum is not designed and not structured for transferring general knowledge of basic administrative skills. That comes to each of us over time, from reading, from testing, from practice, and from experience. It is technically possible for one of us to remotely connect to your Alix platform, and configure the software for you. With tmux(1), you and wlm2 could watch the process as it occurs, though you will not gain much knowledge just by watching. Through the use of ssh(1) software and public key pairs for authentication, the connection could be made securely, without the need for sending any passwords to anyone. However, you would have to trust an anonymous person on the Internet with superuser authority of your system. Should you? Last edited by jggimi; 20th October 2011 at 02:58 PM. |
|
|||
I would divide the project in 3 parts
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
thanks !
Hello everyone have a good weekend
I do not understand what I was doing wrong with setting the dhcp server on port vr1. I'm trying to set up with the guidens of openbsd FAQ 6.4.2 and I can not get anything on vr1 when I run the command ifconfig-A. Can someone help me move forward only with the definition of the dhcp server. This will help us a lot. |
|
|||
Quote:
http://www.daemonforums.org/showthread.php?t=596
|
|
|