Use Arch as a gateway

Hey,
I have read some of the Wiki articles on Sharing a connection, but I was not sure if those were the right ones for my setup. What is want to do is the following: I have two ethernet cards on my Linux box and a wireless router available. I want to make the router use the Linux box (Arch) as a gateway so that I can share its connection wirelessly with other computers.
Does anyone know how to accomplish this?
Thanks,
Robert.

:DI also have my linux firewall, server, gateway in the same arch PC here, due to limit in money :P. But it does not a matter if you set up you iptables correctly to do NAT as well as blocking unused ports. I am using dialup connection with speedtouch adsl modem, so you can easily set it up with ppp.
so my suggestion is on the arch gateway, you set up iptables and ppp to connect to the internet. With another ethernet interface, you connect to wireless router with network 172.16.0.0/24, for example. from the wireless router, you share connections with client PC by using ip address 10.0.0.0/24, for example. If you can setup you wireless router as a bridge, you need only one private network. At the arch gateway, you need to statically setup your routing table, with route command to point to your private network so that it can route traffic correctly. For example:
route add -net 10.0.0.0 netmask 255.255.255.0 gw 172.16.0.2
where 172.16.0.2 is the ip address of your wireless router.
We are archers, so it is better to stay away from the fucking stupid Microsoft Windows.
Cheers.

Similar Messages

  • Planning on using Arch for a web server/torrent tracker/torrent s[...]

    I'm going to be making a web server/torrent tracker/torrent seed (hopefully) from Arch on an old-ish HP NetServer E 800. I was going to go with Debian, but I like the KISS Arch brings and with a server on the slim hardware I'm using, even Debian is too big esp. compared to Arch. [If the hardware's not up to Arch (highly doubtful) I'll have to resort to *gasp* Gentoo.]
    I saw the tutorial on the wiki for Arch with Apache, LAMP, etc. so that's fine. I do, however, have a question about torrent stuff. I'm wanting to track and seed my band's torrents off the same machine (obviously, it won't be the sole tracker; TPB/Mininova/etc.), where its site is (two separate domains: .com for the main site, .org for the email, legal stuff, and BT tracker).
    I am planning on using XBTT as the tracker and XBTC + web interface as the seed client. My main (and only, as of yet) problem is that there are no instructions on the XBTT site or Arch wiki for using Arch with XBT(T/C). I guess the only difference is getting the tools needed. Are these included with Arch, in the main repos, or somewhere available for Arch? Also, would there be a conflict seeding from the same machine the tracker is on?
    If that doesn't work, I'm thinking Opentracker. I don't expect too many peers but we might get Dugg, Slashdotted, Stumbled, or promoted by TPB (they like when bands release over BT). So, I want a tracker than can handle the unlikely event of a large number of peers.
    Also, does anyone know of a Python frontend to XBTT? PHP is fine, but really prefer Python to integrate with the remainder of the site.
    Thanks in advance,
    Sajro

    manasij7479 wrote:3.This should be an stfw type of question, but I'm really confused about which way to go for a remote desktop connection.
    So, I'd like to hear any experience, positive or negative, on that matter.
    Note that my main machine will have an extra monitor,on which I'd like to ocassionaly 'see' the server.
    I second/third/forth screen. Ask yourself if you really need a GUI for a server--chances are, the answer is a "no." Screen is handy because you can detach it from anywhere and then resume right where you left off. ctrl+a followed by "d" to detach, screen -r to resume (or -rd if you need to resume and detach a running instance). GUIs are mostly overkill for this use case, IMO.
    I have a very similar setup with a cheapish AMD CPU, large disks, and a fair amount of RAM running mostly as a file server/router/miscellaneous box (NFS/SMB, also as a web server, IPv6 gateway, and other odds and ends). I have one of the monitors of my desktop plugged into it in the event I actually need to see it (rare, but can happen if something occurs with the network).
    I think you'll find after some experimentation that it's a lot easier to manage and run than you might expect. The same drawbacks that apply to Arch desktops apply to servers as well, probably more so: Regular maintenance updates aren't likely to happen depending on how you use the server, so you need to keep up on the news and bookmark important entries for whenever you do have time to update it. Be extra sure to update it only when you have an hour or two to spare, particularly if you come to rely on that machine to be up and running.
    Perhaps the more serious drawback of having an always on (or almost always on) server is that you'll find far more uses for it than you originally anticipated.

  • Using Arch as a media server

    I plan to use Arch as a media server, for an Arch-based media center at my TV.
    I don't want to deal with RAID, so I'm planning on running large single-partition disks to hold media, each with a slightly bigger disk for doing rsync incremental backups. For serving the media I'll be running openSSH and mounting the media volumes over SFTP from the media center.
    I'll also be running a webserver on this machine. Someone suggested that I run the webserver on a virtual machine to segment it securely from my precious media.
    Does all of this sound like a fine idea?
    Last edited by Slax (2010-09-02 11:13:30)

    Going back to Slax's original post:
    I would recommend using raid and/or lvm partitions on the server, they really aren't that hard to administer/setup and they offer you much easier scalability in terms of storage space.  I mean, you can grow an LVM volume (and then grow the fs partition on top of it) quite easily if you just stick another disk in the server.  But if you replace a disk on a physical harddrive's partition, you have to copy the contents of that entire partition to a hardrive on a newly partitioned hard-disk.
    You can also shrink other lvm volumes to make room to grow a different volume (but then you have to be careful of the filesystem you use on top of the LVM volume, some filesystems, e.g. XFS can't be shrunk).  Raid can also potentially speed up disk access times, depending on the Raid level and/or CPU bottlenecks.  (Raid 4/5/6 all have a significant CPU overhead for parity calculations on write).
    I would also point out that Samba/CIFS offers another way to share files over your network, which will also allow windows-running computers to access your files shares.  Also, Samba/CIFS has a reasonably easy to setup password-authenticated security model.  On the other hand, non-authenticated NFS is dead easy to setup, and securing NFS might not be harder than setting up Samba for any purpose.  Basically, I'd recommend Samba if you're interested in sharing in files between Windows-running computers and your server, otherwise NFS is probably a better choice.

  • Installing/using Arch linux in Parallels on Mac OS X Lion MBP Retina

    I am having a problem where I can't install or use Arch Linux as the same error always crops up at some point or another.
    loading user-specifide modules [busy]
    pc_ich: RCBA is disabled by hardware/BIOS, device disabled
    pc_ich [some random numbers]: I/O space for GPIO uninitialized
    BUG: soft lockup -- CPU#0 stuck for 22s [kworker/u:0:5]
    Thanks for any ideas.

    I am pretty sure that Linux has some known serious issues with thre retina Macbook as well as some of the new Airs.
    See this thread, it may help: https://bbs.archlinux.org/viewtopic.php?id=144255&p=1
    Edit: Sorry i didn't read the "Parallels" in the title.  Though I am not familiar with parallels, so I am not sure what kind of system it is actually trying to emulate.  What happens if you use something else like virtualbox or some other free virtual machine software.
    Last edited by WonderWoofy (2012-09-27 03:18:07)

  • Where is HTTP access and error log when using Embedded PL/SQL Gateway?

    Hello,
    I am using Embedded PL/SQL Gateway to run stored procedures.
    I can't find access log and error log (something like Oracle HTTP Server has).
    In listener.log are only simple data and there are no usernames and procedure names...
    Thanks.
    Marian

    You might be better off asking this on the Apex forum: Oracle Application Express (APEX)

  • [SOLVED]Is there anybody using arch linux in coLinux?

    Hei,guys!
    I'm using arch linux in coLinux.I got the image file from sf and I successfully booted it on my machine,em,everything seemed to be OK.But when I tried to do this:
    pacman -Syu
    I got this message :
    checking package integrity...
    error: error while reading package /var/cache/pacman/pkg/gdbm-1.8.3-7-i686.pkg.tar.xz: Unrecognized archive format: Invalid or incomplete multibyte or wide character
    error: failed to commit transaction (libarchive error)
    Errors occurred, no packages were upgraded.
    I think the pacman(maybe just libarchive) is too old to recognize the .pkg.tar.xz files. So dose someone have an idea to work out it?
    Last edited by Cristie (2011-05-28 16:03:35)

    @twilight0:yeah,I acknowledge that,but it didn't work at all. I guess you didn't understand my problem. You know, the pacman coudn't upgrade (in fact I was unable to install any packages) just because the libarchive package was out of date (it meant that I could do nothing with the .tar.xz files downloaded from the mirrors).So I solved the problem by doing like this(Stupid it is, but it really works):
    1.Download libarchive from any of the mirrors around the world.
    2.Find a way to access to the files you just downloaded.
    3.Replace the original libarchive files.
    4.Mofify the local db.It is OK to do this:go to /var/lib/pacman/local,rename the libarchive-VERSION to current version.
    Then I found that depences need openssl >= 1.0.0, so try the same proccess with it.
    So,now everything is running very well.
    Last edited by Cristie (2011-05-28 16:20:03)

  • Using XE with ODBC Gateway

    Hi,
    I've found this in XE licence: Generic connectivity: http://download.oracle.com/docs/cd/E17781_01/license.112/e18068/toc.htm#BABIDICB but I would like to be sure- am I allowed to use Oracle's ODBC Gateway [Generic Connectivity] with XE, at no cost?
    Regards
    Bart Dabr
    Edited by: BD on Oct 3, 2011 4:04 PM

    Hi Bart,
    well, you could ask some "Oracle VAD", or search the online store for a price - you won't find any.
    I'd say this is a sure thing when you put all "evidence" given above together.
    I cite them to make it obvious:
    Oracle Database Gateway for ODBC
    Oracle Database Gateway for ODBC can be installed and used on a machine different from the machine where the Oracle Database is installed and used. It is not >necessary to obtain a separate license for the machine running Oracle Gateway for ODBC.
    ODBC support Yes (Windows and UNIX)"Database Gateways", on the other hand, are listed in the [url http://www.oracle.com/us/corporate/pricing/technology-price-list-070617.pdf]US Oracle Technology Commercial Price List as follows (watch the heading)
    Integration Products
    Mainframe Integration Gateways
    Database Gateway for Sybase
    Database Gateway for SQL Server
    Database Gateway for Informix
    Database Gateway for Teradata
    Database Gateway for DRDA
    Database Gateway for APPC
    Database Gateway for WebSphere MQThe list ends there, ODBC is not on it.
    If this all doesn't convince you, you still have the option to contact a VAD.
    -Udo

  • Use of Multiple CC Gateways

    We have a client using WebTools 2007 PL07 and are already using Authorize.Net for CC Gateway.  They also want to be able to use PayPal on their site for some customers.  Can Webtools use two different CC gateways?  Does it sound possible through a customization?

    Hi Mike
    The solution is not setup to do this, a lot of customization would be required.

  • How can a user that uses a Remote Deskop Gateway reset their password if it expired?

    Right now when a Remote Desktop Gateway user's password expires, the gateway server does not prompt them to change it. Instead, it just doesn't allow them to connect to their machine.
    How can a remote user reset their expired password if they use a Remote Desktop Gateway to initiate the remote session?

    Hi,
    Just to extend on Armin's points,
    If VPN access would be available, using AD authentication would still not allow you access if the password needs changing. If using a VPN, you would not need a gateway as you will connect to
    the LAN in most instances.
    The RDWeb site would need to be used in conjunction with the gateway if you are not using a VPN. The RDWeb and Gateway Roles can be installed on the same server simplyfing the deployment.
    As Armin has suggested, i would recommend that you look at Password reset from the RDWeb interface or look at a identity management product Like FIM 2010 R2 which provided a Password reset
    feature that can be published exernally.
    Best regards,
    Ryan Mangan | Ryanmangansitblog.wordpress.com | Help keep the forums tidy, if this has helped please mark it as an answer

  • Extend Wireless Network using a Telstra technicolor Gateway wireless Router to Airpot extreme but Airport will only except join not extend and I can not get a network on the Airpor Extreme ethernet ports but can ping Airport extreme from Technicolor Rout/

    Extend Wireless Network using a Telstra technicolor Gateway wireless Router to Airpot extreme but Airport will only except "join a wireless network (which it does) not "extend a wireless network" (Led turns yellow and I can not get a network working on the Airpor Extreme ethernet ports but can ping Airport extreme from Technicolor Router.
    Airport gets it address DHCP.

    Funny how I can ping the Extreme but the Hard Ethernet ports dont seem to work correctly.
    When the AirPort Extreme is configured to "Join" a wireless network, the Ethernet ports are not enabled.
    Oddly, the AirPort Express has a special feature that will allow it to to "Join" virtually any wireless network.....and the Ethernet port can be enabled. So, an Express would work for your purpose to provide an Ethernet connection to the media player. This assumes that the Express is located where it can receive a strong wireless signal from your main router.
    Note that the Express will not provide any additional wireless coverage when it "Joins".

  • Is it possible to use Arch like a source-based distro?

    I installed Gentoo on a spare box recently, and rather liked the idea of a source-based distribution. It's nice to think that the natively compiled code is optimized for my processor, even though even many Gentooists admit that the practical performance gains are minimal. However, Gentoo is less KISS-oriented and less bleeding edge than Arch, and I love Arch too much to switch anyway. I was wondering if one could recompile an entire Arch system using processor-specific optimizations like Gentoo, and maybe even have some equivalent of Gentoo USE flags? I can't manually recompile every package, and then do it again every time there's an upgrade - that would be too tedious. So, is there some automated method - to essentially use Arch like a source-based distribution? Can ABS help, or maybe a community-contributed tool? And finally, for a source-based and yet Arch-like distribution, what do you guys think of CRUX? Given that their documentation and community is much smaller than ours, is it very bothersome to install and maintain a desktop system using CRUX?

    Xyne wrote:
    Rebuild everything from source:
    bauerbill --build-all -S $(pacman -Qq)
    Build all available upgrade from source, including dependencies:
    bauerbill --build-all -Syu
    Install new package by building from source, including dependencies:
    bauerbill --build-all -S <pkgname>
    Bauerbill also provides an "AutoPatch" option that enables you automatically apply patches to PKGBUILDs and install files when building from source so you only have to edit a PKGBUILD once.
    *edit*
    Of course, you could simply enable "BuildAll" in the configuration file and skip the flag.
    @Xyne
    So bauerbill will build all the deps for packages from source too [dependency resolution] and build from source packages from groups [ex. xorg, gnome, kde, xfce4, etc]?? I'm having a hell of a time with pacbuilder as it's not as functional as I had hoped, so I am thinking of using bauerbill, if it does what I need or is actually functional as pacbuilder but more functional [deps, patching, etc] then i'll use it exclusively! Thanks for any help.
    Last edited by Chaniyth (2010-08-19 02:49:14)

  • Should I Build a Web Server using Arch?

    Hi All,
    I'm an Arch-noob. I'm more familiar with Fedora. I'm trying to understand and test the LAMP stack without affecting my current installation of Fedora. So; I installed VirtualBox and looked for a "lightweight" distro to run. I chose Arch. I'm not so certain that I made the right choice though. The installation is VERY barebones, which is good, but I'm spending more time trying to figure out pacman and why sshd can't be found unless I use "which" (as root) is frustrating. It's been three days since I installed Arch and I haven't gotten to my main purpose yet.
    So; I thought I'd ask you folks what my course of action should be. Should I continue to use Arch or find another distro to help me learn LAMP? Thanks.

    FergatROn wrote:I noticed that you used the full path to rc.d. I noticed that when I typed in "rc.d" it couldn't find it. The same thing happened when I typed in another command, but when I did a "locate <command>" or "which <command>" it displayed the full path.
    /etc/rc.d/ holds the start-up scripts. These are different to the actual executable binaries (eg , /usr/sbin/sshd). The scripts in /etc/rc.d/ are the equivalent of /etc/init.d/ on Fedora. Fedora does not include /etc/init.d/ in your default PATH either, so this should not be that different for you, except you don't have the same "service" and "chkconfig" commands*. The difference is in the init system Arch uses compares to Fedora (BSD vs sysv respectively)
    * There is a new script called "rc.d" which will provide similar functionality to service and chkconfig
    Last edited by fukawi2 (2011-06-06 03:23:29)

  • Do many FPGA/embedded developers use Arch?

    I was wondering, since I'm a developer and considering Arch for my workstation, are there many FPGA, embedded etc. designers/developers in the Arch community or at least using Arch for their work?
    I don't know, if Arch is as popular among software developers of many kinds (or should I say languages), as i.e. Gentoo is, but looking at the whole distro concept (minimalism, simplicity, configurability etc.) it should draw a lot them.
    So.. it would be good to know, that, besides Arch/Linux specific support, help for that kind of development speciallity is also not far away

    Anthony Bentley wrote:
    In a general Unix sense, the biggest advantage over Windows for embedded development is definitely package management.
    At a previous job, I wrote code for some Olimex ARM boards, to help a grad student with his thesis. He had set up a development environment on his home Windows PC, but later could not reproduce the installation on the lab computers: finding a cross‐compiled Windows ARM toolchain, compiling OpenOCD in Cygwin, and then configuring Eclipse to tie it all together.
    On my OpenBSD laptop, I did “pkg_add openocd arm-elf-gcc”, wrote a simple Hello World in C, and got the board blinking an LED in no time at all. He was impressed.
    So a great and simple way to make your distro more usable for embedded development is to create packages when they don’t exist. It’s pragmatic (because really, nobody wants to remember the right configure flags and recompile GCC again). Arch seems to have packages for quite a few embedded toolchains and/or communication software, which is nice.
    I've packaged systemc to arch. I would like to have it on AUR. Thou I dont have the will to write all the flags of the package. I have something which works perfectly to my needs. I would happily hand the code if someone would like to place it properly in AUR.

  • Issues with using leapord as a gateway.

    I performed a clean install of mac osx server 10.5.1 on our new xserve.
    I then used the gateway setup assistant to set the xserve up as a router.
    Ethernet 1 has a static IP which is connected to our dsl line.
    Ethernet 2 is connected to a switch with one computer. (DHCP Server)
    When only the dsl modem is connected I am able to access the internet from the server just fine. But as soon as I turn on the switch (which is unmanaged by the way) I loose the ability to connect to the internet.
    Yes, I tried rebooting etc..
    Has anyone encountered this scenario? I can post any additional info if needed.

    Ethernet 1 (en0 ?) is just connected to the modem? No PPPoE connection?
    Ethernet 1 is on top of the list of interfaces i Network prefpane?
    The router filed is not filled in on Ethernet 2 TCP/IP settings?
    NAT and firewall is running?

  • Issues with using Embedded PL SQL Gateway with Apex 4.2

    Hi,
    I have installed Oracle 11g R2 and want to develop an application using Apex 4.2 (needs upgrade from 3.2 version which has come bundled).
    For the server, I would like to use the Oracle HTTP server, but it seems to require a separate license as against the same in Oracle10g.
    I would like to know what are the performance related issues b/w using the embedded PL/SQL Gateway (Oracle XML DB HTTP Server) that comes with Oracle 11g R2 as against the HTTP Server found as a part of the fusion middleware bundle. Is it wise to procure the license for HTTP Server?
    Details:
    DB OS: Windows 7 (64 bit) (DB and Apex are on the same machine)
    Number Of Users of application: 10-20
    Application is mainly used more for keeping track of details as against heavy processing or the like
    Thanks

    For the server, I would like to use the Oracle HTTP server, but it seems to require a separate license as against the same in Oracle10g.What gives you this impression? The licensing position remains the same: OHS is covered by the DB license if OHS is run on the same server. See Joel's post and the document he links to: +{message:id=9256804}+.

Maybe you are looking for

  • Family sharing not allowing me to make purchases without using my husband's payment method

    My Husband and I recently took the plunge and joined Family Sharing. Having pretty hectic lives, we haven't worked it all out as yet - and today, I tried purchasing an App - and all of a sudden I am being required to use my husbands iTunes account an

  • BLOB column not updating using automated row processing

    I have fiddled around with creating a simple application to understand how APEX handles images stored in blobs - did a simple app that stores them, gets them, displays them. it all works great. so i have this existing table/application that i am tryi

  • ITunes UK - used to have this, how do I get it back?!! help please?

    Hi all Need some help please! I have always used iTunes UK - downloaded that to my pc a long long time ago. For some random reason it seems to have changed to the US version - all the songs/albums are listed in $US rather than £pounds - and I can't d

  • Plz help me in solving this

    hi my requirement is emp number from PA00001 i have to take the value of STELL feild next from HRP1001 table i have toenter data by giving SCLASS -Q OTYPE - C and STELL  number i have to collect sobid and sclass next from HRP1000 table i have to ente

  • The specified year 2011 is not the current calendar year 2012 in MM?

    Hi, when I am doing the MIGO transaction i am getting the error like this, The specified year 2011 is not the current calendar year 2012 I gone throught the t coded like: MMPV, MMRV, OMSY, OB52 As per my company, fiscal yerar is v3 (Apr - Mar) So now