Ubuntu Networking :: Setup A Mercurial Code Sharing Server On A Machine
Feb 2, 2011
I'm trying to setup a mercurial code sharing server on an Ubuntu machine but I can't figure out how to get it running. I'm setting up this server on a LAN so I don't want any security. Another thing I should mention is that I'm using Netbeans to code in Java. how use mercurial and tortoise (I've got them installed).
I can successfully logon to machine A to Machine B.
what address and port will my tunnel 'appear' on machine B? I want to send a stream back from B to A up the encrypted tunnel, not over the open network.
I need to setup a Linux VPN server at work for resources' sharing, I currently have a server running CentOS 5.4, and tried endless tutorials on the web, but to no avail, and can't find where the logs are kept for the VPN server to check where the error is. But all my attempts to try to connect keep failing.
I have tried to set up file sharing using ssh, samba with no luck. I now have it set up using NFS the only thing is it is just one way and I need it both ways. I was wondering if I installed the same packages on the other pc if I could make this work both ways.
The command I used on the first pc was: sudo apt-get install nfs-kernel-server nfs-common portmap And on the other pc the command was: sudo apt-get install nfs-common portmap Or is there a better way?
Trying to set up network sharing between Ubuntu 9.10 and Vista. I already did this with a wired Ubuntu 9.10 desktop and my Vista laptop but for some reason my Ubuntu 9.10 wireless and Vista wireless aren't as easy. They are all on the same workgroup "MAGIC" and I can see my ubuntu shares on the Vista computer but can't see the Vista shares on the ubuntu computer. In ubuntu I go to network>windows network>MAGIC but it times out at the MAGIC workgroup part and says 'unable to mount'.
[URL]
but no luck I also checked and there isn't a firewall that's in the way.
I am trying to setup samba to allow file sharing to: /home/kris & /var/www
I am trying the command smb://192.168.*.* from my MacBook & \192.168.*.* but when I enter "kris" & password: "******" it keep's on coming up "Incorrect Username &/or Password"
Here is my conf file:
Code: [global] workgroup = homegroup ;put your own workgroup name here netbios name = intranet ; this should be your own too server string = Intranet in Kris' Room. ; hosts allow = 192.168.1
**Edit: path for mount was incorrect Distro Server: CentOS 5.5
Clients: Fedora(latest) OSX(latest)
Backround I am attempting to setup a server in my house mostly(for the first time) for backups and file sharing. It is important to me that file permissions are preserved. So its my understanding that I must use idmapd in order for this to work. As of now I'm only working with the linux distros while osx will be dealt with once these two work together. portmapper is up and running, along with lockd on both machines. Firewalls are also down on both machines for now. The server side was all setup using the GUI interface with no extra options selected. Problem When attempting to "mount -t nfs4 10.0.0.2/$sharedfolder /mnt" I get an error operation not permitted with no error printing in /var/log/message. If I use "mount -t -o nolock nfs4 10.0.0.2/$sharedfolder /mnt" it mounts just fine. Ive checked both machines multiple times to make sure that lockd is up and running. In the idmapd.conf file I the domain as "localdomain" for both machines but I doubt that is right; like I stated above this is my first attempt at a server. I'm assuming the problem is a whole missing step that involves some kind of id mapping server I need to setup.
IM completly new to fedora but decided to give it a try after using ubuntu for a while,I have everything setup apart from sharing and im been fiddling for a while now.
I'm having some problems with file and print sharing between my Fedora 12 box and my Win 7 box. trying to access shares on the Win 7 machine results in a "unable to retrieve the shares list" error message. I've been searching Google for a while now with no success.
I have a similar problem. My ubuntu box is set up as a dhcp router for my Xbox360, my xbox can get ip and DNS information from the computer, but it doesn't seem to get the right info. The ip address it gets assigned is out of the range I've set in etc/dhcp3/dhcpd.conf.
I've been trying to create file sharing between my MacBook Pro and my Lucid Lynx box for time machine backups and media server purposes. I followed this guide:[URL]..Everything seems to work with these exceptions: I can see my LucidLynx box in my finder app in my Mac but only when I run these commands from Ubuntu:
If I restart my LucidLynx box then I can't see anything in finder. I can't log into my LucidLynx box from finder. I don't get a bad username or password error it just tells me the connection failed. *Note if I do enter an incorrect username or password it WILL tell me it's incorrect. I've looked at this link below since some people have used it in theses forums but it's a bit dated[URL]..
I have a Netopia 3000 Series Internet Gateway [URL] & windows 7(laptop) & ubuntu 9.10. - My laptop connects to it wireless and my ubuntu via ethernet cable. - I am trying to setup file sharing and printing. How do I go about in making them ping each other? the networking side. I logged in the router & check and windows has ip 192.168.100 & ubuntu has 192168.1.2
I want to set up the following server in open suse:dhcpopenldapnfs (to allow users to mount their home directories from the serverI started off with the openldap server. I configured it with dc=localdomain,dc=local as its domain. As the server machine has no internet. Though when I go to add a .ldif file with the following command
Code: ldapadd -x -D 'cn=Administrator,dc=localdomain,dc=local' -f /home/base.ldif -W It returns this
installing my APC Back-UPS ES 350. I am using CentOS 5 KDE setup as a DNS Resolving Caching Name Server, I wanted increase speeds and privacy since I got a letter and didn't like that not one bit, a tv show but whatever. It is very secure now, using peerblock with Iblock List subscribed to for the one year and it is so secure that I have to disable peerblock if I want to use online banking and what not.
setup the APC unit, haven't experienced APC and CentOS is new to me, I didn't want to buy a windows server, so I used BIND instead and well I love CentOS, can't wait to really understand it a lot better, also logging into root is so nice and easy vs Ubuntu, very cool.
I also do not have a DD-WRT supported router nor a Docsis 3 modem, docsis 2, I believe this should give me a lot more speed. currently I just get 11-17Mbps, I am hoping this will bump me back up to 35-37Mbps which I get off and on but unstable.
I am a total noob with regards Linux so will undoubtedly frequent this board asking some lame questions in the coming weeks. At present I am trying to setup a LAMP Server on an old desktop machine I have lying about, however there is not going to be a keyboard, monitor or mouse attached beyond the installation process. My question simply is am I best installing the server or desktop version of Ubuntu for this requirement?
I have been playing with Desktop 9.04 and found it tough to use headlessly, however understand that Server 9.04 fully supports headless access. Being a newbie I do prefer to use the GUI to make changes and generally play around, so a UI such as GNOME would be essential. Having read about I understand the best way to access remotely is to install SSHServer and VNCServer and then login over SSH and VNC into the box.My remote machine I will use to connect to Ubuntu is a Windoze 7/XP machine.
I set up a Samba server on my openSuSE 11.2 machine and I can connect to it locally with the local ip and with my actuall ip. My friend however cannot. I tried to have him ping my ip and that wouldn't even work. I'm confused and wondering why it doesn't work. We share a lot of files and this would make both of our lives much easier.
I'm using Ubuntu 9.04 x86_64 and trying to setup SSH to connect to my machine externally. The open ssh server is already installed and I can using ssh localhost. Moreover, I also forward port 22 to my machine and check using [URL] Everything seem to be ok, but when I trying to connect using ssh -vvv <ip-address> I receive the following common error:
I am using Ubuntu 10.04, 64-bit. I am trying to set up a virtual machine on it using vmbuilder. As I understand, I need to set up bridging. If I set up br0, then I cannot get out of the machine. Even a ping to 192.168.1.1 (my gateway) comes back as network unreachable. If I comment out #auto br0, then I can get out (on eth0), but i get an error from libvirt. My /etc/network/interfaces file (eth0 networking works, but libvirt does not):
#auto eth0 #iface eth0 inet dhcp auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.1.154 netmask 255.255.255.0
I need to access a Windows Server 2000 machine using a Linux machine via KDE, but that will migrate to Gnome. The Linux user to connect to Windows machine, you should open an application 'XYZ' automatically, and only this, denying any unauthorized access. When you close the application 'XYZ' communications (RDP?) Should be terminated. Do I need a log of accesses and possible attempts to circumvent the system and access other application.
I would like to use an extra physical hard drive in my linux server to provide my wife a place to backup her Windows XP desktop.I am willing to format this drive as NTFS (or anything else) and have it dedicated to this purpose. I am wondering what is the easiest way to proceed?
I'm trying to setup and configure a server entirely with text only run mode 3 on a virtual machine so I can redo my current live server. I'm now trying to set up the firewall of the system using iptables. I've read up on it and came up with the following:
-clear all rules #iptables -F -set default policy rules #iptables --policy INPUT DROP #iptables --policy FORWARD DROP
[Code]....
Everything above worked for me but just out of interest I looked at my live server which was configured using a GUI. I ran iptables-save and it was pretty much the same but its port open lines read like this:
#iptables -A INPUT -p tcp -m state --state NEW --dport 80 -j ACCEPT
so finally my question is do I really need the "-m state --state NEW"? Wouldn't having that drop established connections on those ports? I'm just confused as to what exactly the NEW state is doing and would it make a difference if I didn't include it.
I am trying to set up samba in my CentOS virtual machine that is running on a Windows 7 host. I have found a tutorial in the How-Tos on this site but I'm not sure if they are exact and I'm paranoid about messing something up. The link to the tutorial is below. Is there anything that I should do different or anything that I should be aware of? Also, once this is set up, how do I transfer files between the two machines?
I have two Linux machines both running Debian (I do not want Windows to be involved at all). One is a desktop and one is a laptop. I desire to connect a not-yet-purchased printer/scanner combination machine only to the internal LAN via my router (Linksys WRT54G) via Ethernet cable, or via wireless if the printer/scanner has that capability. I want to be able to print to that printer (and scan from its scanner) by only having to turn on the printer/scanner and only one of the other computers, and not have to have both Linux machines turned on in order to print and/or scan.
So my questions are: When I look at specific models of printers, what should I be looking for in their specifications that indicates that this configuration is possible (i.e., should I be looking exclusively for printers that say they are "wireless printers" or "network printers")?The reason I ask this question: In my online searching, I thought "networked printer" or "stand-alone network printer" meant just that, but what I found instead are pages and pages of instructions on how to connect the printer locally to a Linux machine, with the associated setup to allow that Linux machine to serve print requests coming from other machines on the LAN. And that approach is not what I want to do (with the notable exception of temporary setup to validate that the printer is responding to requests for printing and scanning from Linux).
Are there particular brands, makes, or models that I would have better luck in getting to work in this manner (i.e., "better stick with HP or Xerox")? Am I kidding myself that a combination printer/scanner would work in the same fashion and still be relatively easy to set up on both Linux machines without resorting to some Windows-centric approach? Result of my searching so far (I have not worked my way through all of these in detail, but plan to): References to local printer connection which is not what I want: Setting_Up_a_Network_Printer_using_CUPS Set up a network printer using cups Set up a printer
The post inside Setting_Up_a_Network_Printer_using_CUPS that starts with "running an HP Photosmart 8450 as a stand-alone networked printer" (where is the permalink?) is as close as I could get, but I am concerned that the instructions given are specific to the HP Photosmart 8450, or specific to the HP vendor, versus for all printers that can be connected to an Ethernet network (not that being locked into HP is going to be a problem necessarily, but I would like to know why if that is the case). Linux compatible printers says "Have a look at LinuxPrinting for known working drivers for printers data base. Also buy from a linux friendly company, ie HP, Brother, Epsom." Later in that thread, someone said Definitely don't buy canon.
I should preface this by saying I'm pretty much new to ubuntu. I was a nerd back when I used windows, so I'm fairly knowledgeable about it, but I lost interest right before switching to linux, so I haven't learned much past basic navigation.
I bought a WPN311 wireless card for my homebuilt machine a while back and still can't seem to get it to work. One person told me that after upgrading to Lucid it should work out of the box but that's not the case. It seems my computer doesn't even recognize that the card is plugged in. When I open the drop-down menu to choose which network connection to use, any sort of wireless option doesn't even show up.
My machine:
EVGA 112 CK-NF68-T1 motherboard Intel Core 2 Duo E6750 Two sticks OCZ DDR2 PC2-6400 ATI Radeon X1650 Pro And the Netgear WPN311 in question
I am in a VMware environment, and using RHEL 5.4. I am trying to setup a PXE Kickstart installation. For this I have configured DHCP and TFTP, made a kickstart file and shared it in the network through HTTP. My problem is that somehow kickstart file (ks.cfg) is not picked by the machine in which I am installing the OS. Although, the contents of my kickstart file can be viewed over HTTP. Please see KS_Error.jpg.
[Code]....
However, I believe DHCP and TFTP is working fine as I am getting the correct IP 192.168.1.115 which I have set in /etc/dhcpd.conf. Also, my label 1 which I have set in /tftpboot/linux-install/pxelinux.cfg/default is working fine as I able to locate initrd and vmlinuz. Please see attached Image_1.jpg how to troubleshoot this. I need to paste any of my configuration files?.
I am trying to set up samba in my CentOS virtual machine that is running on a Windows 7 host. I have found a tutorial in the How-Tos on this site but I'm not sure if they are exact and I'm paranoid about messing something up. The link to the tutorial is below. Is there anything that I should do different or anything that I should be aware of? Also, once this is set up, how do I transfer files between the two machines? Please note: I am very inexperienced in the IT field. [URL]...