Ubuntu Servers :: Setting MTU With VLAN?

Apr 4, 2010

Looking for any help I can get here.. We have a 9.10 server with both (ifenslave & VLAN) installed and configured. When we are running in bond mode (bond0) it sets the MTU to 9000 just fine.

iface bond0 inet static
hwaddress ether 00:04:7B:30:4A:AC
address 172.21.2.250
netmask 255.255.255.0
mtu 9000

[Code]...

View 5 Replies


ADVERTISEMENT

Fedora Networking :: Setting Up A Vlan Network And After Reading Several Man Pages?

Sep 8, 2010

I'm currently setting up a vlan network and after reading several man pages I still have 2 questions / problems:

1. I would want to put several subnets into one vlan.Meaning for example, I want to have the following Vlans with subnets:

vlan1 10.1.1.0/24
vlan2 10.1.2.0/24
vlan3 10.1.3.0/24
vlan3 10.1.4.0/24
vlan3 10.1.5.0/24

Is that possible?

EDIT: I found a sample configuration, sadly without any comments, where there are defined some interfaces named vlan1:0 trough vlan1:3. Could that be the option I've been looking for.However in the definition of the vlan1 device it is configured with the subnetmask 255.0.0.0 . I would like to know the mechanics of that option, too.

2. In the wlan part of the network I want to have a dhcp server distributing ip addresses. However I want hosts the server 'knows' (by mac address) to be in a different vlan than those unknown. Is there any way to achieve that? If yes, do I need special wlan access points or can I do it by my configurable switch or by the server?

View 2 Replies View Related

Networking :: Route Non-vlan Packet To A Vlan Interface

Apr 20, 2010

do you know if there is any possibility to route/force non-vlan packet to a vlan interface in Linux?

View 2 Replies View Related

Ubuntu Servers :: Dynamic VLAN's - VMPS - Where To Start To Get This Configured

May 11, 2011

Basically im trying to setup a dynamic vlan setup with my Cisco 2950 switch. I understand that freeradius has support for vmps and i'm wanting to use this. (as i'd also use the radius server for authentication for my squid proxy server)

But i have no idea where to start to get this configured. Right now i've got the freeradius package installed and i've done a bit of google'ing and i cant seem to find much about vmps and freeradius.

View 3 Replies View Related

Ubuntu Servers :: Setting Up DNS For A Small Lan

Jan 25, 2010

how to set up dns/bind but the issue I am hitting is that I want to just create a non internet domain setup ie t60.mysuperlan. desktop.mysuperlan. etc . Using a hosts file isn't the best as its pretty much about learning all the stuff to make it work.

View 2 Replies View Related

Ubuntu Servers :: Setting Up Lpr For Printing Under 8.04

Feb 23, 2010

I managed to install a networked printer to my box by

apt-get install system-config-printer-common system-config-printer-gnome

And using the system-config-printer, I can send print test page and it works.

Now, I noticed that I don't have lpr installed on this box.

So even if I install lpr or lprng I cannot seem to make it work.

Ohh and by the way, the only thing I use to print from that box is Acrobat Reader 9.. it is proprelly installed. I can see the networked printer entry from the program.. but for some reason Acrobat Reader 9 needs to use lpr to send the print job.

I wish to know what I am missing here.

I can do lpstat -v and I see my printer entry from there.

Now: the question: how can I setup lpr to work with my networked printer?

Should I install lpr or lprng?

What is the proper way to install a networked printer under Ubuntu-server?

View 2 Replies View Related

Ubuntu Servers :: Setting Up 2nd Interface?

Jul 15, 2010

I am having trouble setting up my second network interface on Ubuntu Server 10.04. When setting up the machine it did detect both cards but I only picked one to configure, and now I want to setup the second.

I went into /etc/interfaces and basically copied the settings for eth0 but changed the IP and the name to eth1. I then restarted.

Quite honestly it might be working! But when I run ifconfig -a I see no packets I see

Quote:

eth1 Link encap:Ethernet HWaddr 00:0e:0c:59:af:c4
inet addr:192.168.4.21 Bcast:192.168.4.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0

[Code].....

isn't that what "UP BROADCAST...." line means?

So perhaps my question is how do I test my 2nd interface? I tried using the 2nd IP with Putty (which is how I usually work on the machine) and couldn't connect.

View 7 Replies View Related

Ubuntu Servers :: Setting Up Openvpn 10.4

Jul 21, 2010

I am following this guide on setting up an Openvpn but having a little issue with permission denied.

I am at this step 'Initialize the Public Key Infrastructure (PKI)'

Code:
cd /etc/openvpn/easy-rsa/2.0/
. /etc/openvpn/easy-rsa/2.0/vars
. /etc/openvpn/easy-rsa/2.0/clean-all

[Code]....

View 8 Replies View Related

Ubuntu Servers :: Setting Up A Database On 10.04?

Aug 19, 2010

I want to set up Ubuntu Server 10.04 on a computer I have lying around, set up a database for storing information, and a website for accessing it, which is only avaliable on my local network (it would just have an IP address on my local network). How would I do something like this?

I want to set it up on probably a Dell, and I want to be able to have multiple fields on the website that people see when they go to that IP address where they can enter information to be recorded in the database, and then be able to easily access it with a login, which different people would have different ones, so they can see just the information they entered..

View 2 Replies View Related

Ubuntu Servers :: Setting Up DNS For Webserver

Nov 17, 2010

how to create an entire server from scratch using a minimal install. I know Ubuntu Server 10.04.1 comes with packages that can be included during install but for the sake of learning I only installed SSH access.

I was able to get Apache2, MySQL, PHP5 installed and running fine. What I'm trying to do next is setup DNS so I can point fragdata.com to my Ubuntu server and have other people see my test site.

I have registered the nameserver ns1.fragdata.com with my IP and updated DNS in my registrar. I followed the tutorial but "dig fragdata.com" gives me the following:

Code:
root@linux-server:/home/syvil# dig fragdata.com
; <<>> DiG 9.7.0-P1 <<>> fragdata.com
;; global options: +cmd
;; Got answer:

[Code]....

View 9 Replies View Related

Ubuntu Servers :: Setting Up Apache In 10.10?

Dec 7, 2010

When starting Apache I get this error in 10.10 (not in 9.10): [Fri Dec 03 21:14:22 2010] [error] (2)No such file or directory: could not open transfer log file /etc/apache2/${APACHE_LOG_DIR}/other_vhosts_access.log. Unable to open logs So where do I define APACHE_LOG_DIR ?

View 4 Replies View Related

Ubuntu Servers :: Setting Up Apache2 With SSI The *right* Way?

Jan 5, 2011

So I've got a box running 10.04LTS Server, and on it is running the latest build of Apache2.It's a home box - a server set up for the sole purpose of experimenting and having fun with. So far, the fun is mostly breaking it over SSH and then fixing it when I get home and can log into it via recovery.What I really want to do is to get this box set up with Apache2 the way it seems like it was designed - with Apache2 serving web pages from its default file location (/var/www) but also being able to log in and upload/download new web page files to that directory over SCP or SFTP. I keep hitting snags.Here's what I've done so far:

1. The server is set up in a DMZ at home and my router updates a Dynamic DNS record; so far I can SSH into it no problem.

2. Apache is working. I get my "it works!" page when I enter either the IP or the dyndns domain name.

3. SFTP is sort of working. I can log on using WinSCP and see the files and download them, but I can't upload to the default directory with my normal login.

Here's my issues: 1. I want to set up Apache *correctly*. To me, that means leaving it pointing to the default directory, but still being able to upload to that directory. I have not (and probably will not) enable the root account. I've set the permissions to 755. I've tried chown'ing the directory, but then it seems I can't view the webpages.As a workaround, I created a www folder in my default user home directory and pointed Apache2 there in the 'default' file in /etc/apache2/sites-available. The changes read as follows:

Code:
DocumentRoot /home/username/www
<Directory />
Options FollowSymLinks[code]...

That gives me a workaround for the default directory SFTP issue, but I would rather learn what I need to do to have it set up and working with default values.

2. You may notice I added Includes under the Options. My goal is to get server-side includes working. But they aren't. I have some existing webpages my work has set up - I using these as a template to use to adapt a flash movie I made to a specific resolution, as well as to learn how to optimize my flash for a webpage. Our webhost uses virtual hosting; I am not yet doing so. I'm not sure what they've done to set up the server-side includes, but the files they are using are all html files - no shtml. The include files themselves have either .htm or .html extensions. All of the pages have .html extensions.

My reading said that I need mod_include installed in Apache2. Where can I check to see that it is installed? Where do I need to add the Includes under Options?Is it in the right place? And finally, where do I need to add XBitHack on to enable it? This is the method that Apache suggests, but the documentation offers no clue as to where to put it. Most of the documentation out there refers to apache.conf, but that's the Apache 1.3 way of doing things.I really just want this to be set up according to the defaults as much as possible.I want to have a good working knowledge of Apache and of how to set it up and configure it, but dang it if it isn't a frustrating process.

View 8 Replies View Related

Ubuntu Servers :: Setting Up A Server ?

Mar 23, 2011

I have never used this software at all and am running a Win XP server for a n in house web site using Joomla. My XP box started to give problems as of today. So now I need to rebuild a web server box. I have always been told that Ubuntu is the way to go.

View 9 Replies View Related

Ubuntu Servers :: Setting Up Ec2 Instance Of 10.04?

Mar 24, 2011

I need to set up an ubuntu 10.04 instance on ec2, but there are some instance ready available I tried with few but I am not really happy with that since those are meant for test puporse.

I have to deploy a java/j2ee based web app with mysql. 1)need to install tomcat 2)java runtime 6 3) apache web server

What would be the best image to use for my requirement and I initially planning to launch with the micro instance if my web app demands I may further move to small and larger instances. So it should be eligible for free usuage tier.

View 6 Replies View Related

Ubuntu Servers :: Setting Up DHCP After Install

Feb 15, 2010

Due to me not remembering how my father set up the DHCP in my FreeBSD server (Files etc) i could not input the corrent info while i was installed Ubuntu 8.04 (LTS) server edition (32 bit). Could anyone be nice enough to tell me what i need to do, or what files to edit so i can access the internet from it?

View 9 Replies View Related

Ubuntu Servers :: Setting Up At Multiple Locations

Mar 27, 2010

So I've got a home server hosting a website for my restaurant, but I'd like to get another server up to get some redundancy going.

I have another machine I'd like to set up at another location to take over retrieving requests sent for the website whenever my home server goes down. I've got my domain through [URL], but the domain is hosted through [URL] for their dynamic dns service (because im not using a static ip).

So I'm guessing having another server set up is just a matter of setting up dns records, however I don't know where to begin with setting that up. Any words of wisdom out there?

View 4 Replies View Related

Ubuntu Servers :: Setting Up Virtualhost And /etc/hosts?

Apr 11, 2010

I've set up apache2, but I'm having trouble getting virtual hosts to work

my /etc/hosts

Code:
127.0.0.1localhost
127.0.1.1johnny-desktop
127.0.0.1go

[Code]....

View 2 Replies View Related

Ubuntu Servers :: Setting Static IP Address ?

May 17, 2010

I just upgraded to 10.04 and I want to set the static ip address but I can't find where to do it.

View 2 Replies View Related

Ubuntu Servers :: Error While Setting Up WebDAV?

May 27, 2010

I've been trying to set up a webDAV server on my remote server and while trying to enable a vhost 'webdav' with the command

Code:
sudo a2ensite webdav
sudo /etc/init.d/apache2 restart

[Code]....

View 7 Replies View Related

Ubuntu Servers :: Setting Up Env Vars At Startup

Jun 21, 2010

one of the servers is the "main guy" which has NIS and NFS. the others mount the partition and can log in whith the same "main" account.

my problem is that i need to call a startup script "settings.sh" to set some enviroment variables for the cluster to work.

this script is on the NFS folder.

i would like if possible to call this script as early as possible, even before login phase, since they are servers and can be shutdown, restarted, etc.

at the moment i need to log via ssh into every one of the 4 nodes and do "source /opt/cfc/sge/default/common/settings.sh" manually each time they reboot.

i would like to put this script somewhere so that it gets called after the NFS mount, but without the need to log into an account. is possible?

otherwise i could set the nodes to automatically login into the main account..

im a little confused on something really simple, i know. But on the past i always used .bash_rc, this time i dont want to take that solution.

View 4 Replies View Related

Ubuntu Servers :: Setting Up Static IP With Godaddy?

Jul 2, 2010

Ok so I got my server running with apache2. I can access it via the web with my static IP.

I registered on Godaddy for a domain, and sucessfully setup URL forwarding. When I type in that domain it takes me to my website, but the browser shows the IP address again. Should I not be using "URL forwarding"? I'm guessing I have to do something on my server side saying what domain it is but I don't know which file to change and I am scared to touch anything. Although I'm a programmer, I'm not a network person.

View 5 Replies View Related

Ubuntu Servers :: Setting Up Synchronization With Samba?

Jul 14, 2010

I have two 1TB hard drives, one in my Linux server (running Debian, but I thought I'd ask here anyway) and one in my Windows desktop.

What I would like is a file synchronization program that will automatically (or scheduled via cron) synchronize my hard drive on Linux with my hard drive on Windows via Samba.

View 1 Replies View Related

Ubuntu Servers :: Setting Up Swap That Will Use RAID

Aug 1, 2010

I'm in the process of setting up my very first ubuntu server.
Using 10.04 and has 2gb ram
I am using Ubuntu's software raid (mdadm)
It will be a file server, with 4 hard drives (3 in RAID5 and 1 as a spare)
All 4 drives have 2 partitions:
Partition 1 - 100mb
Partition 2 - The remaining drive space

I setup the first 3 drives' partition 1's to be RAID1 with the 4th drive's partition 1 as a spare. This is where I'm mounting "/boot" (it's my understanding that /boot cannot be on a RAID5). I setup the first 3 drives' partition 2's to be RAID5 with the 4th drive's partition 2 as a spare. This its where I'm mounting. I believe so far I'm setup correctly to be able to deal with a drive failure and the system should operate just fine. What I don't know what to do is with the /swap. I want to retain the ability to be able to operate with a drive going down. But I have also read warnings about putting /swap on a raid. How would you setup /swap?

View 6 Replies View Related

Ubuntu Servers :: Setting Up A Static Ip Through Router?

Sep 23, 2010

If not should I just plug up directly into my modem?

View 2 Replies View Related

Ubuntu Servers :: Setting Up Email Server?

Oct 5, 2010

I recently bought my own domain name and have started working on my website. I am way excited about setting this site up. My question is, what would be the best way to setup an email system where users are able to login and check their email...I guess like, a web-based system? Then they can configure a client if they wish with their email address.

View 6 Replies View Related

Ubuntu Servers :: Setting Up NAT Firewall Using IPtables

Nov 30, 2010

I am having a little trouble setting up a NAT firewall using iptables. I have 1 PC dedicated to being the firewall running Ubuntu 10.04 LTS. There are 2 NICs in this PC. One NIC is connected to the modem & the other is hooked into my router, sharing the connection through to the other PC on my LAN. Thing is that I am having troubles setting this up using iptables. I have it sharing the connection, but can't seem to make it forward 2 ports through to my webserver on the LAN. I am also wanting to setup init.d to control iptables. I have been trying to google this, but haven't found anything useful to get this accomplished. I put the following into rc.local to make the forwarding work:

/sbin/iptables -F
/sbin/iptables -N block
/sbin/iptables -A block -m state --state ESTABLISHED,RELATED -j ACCEPT
/sbin/iptables -A block -m state --state NEW -i ! eth0 -j ACCEPT
/sbin/iptables -A block -j LOG
/sbin/iptables -A block -j DROP
/sbin/iptables -A INPUT -j block
/sbin/iptables --table nat -A POSTROUTING -o eth0 -j MASQUERADE

View 1 Replies View Related

Ubuntu Servers :: Setting Up Dns In Mail.domain.com?

Feb 5, 2011

I have created a mail server using citadel that seems to be working nicely. My only problem is the only way to access the server is to go to 71.114.220.3:2000 (it's running on port 2000). I would like to be able to access the server by going to mail.annarrankings.comI'm using godaddy for my dns and set an A record as host=mail, points to =@Then set the mx server to priority=10, host=mail.annarrankings.com, points to = @

View 1 Replies View Related

Ubuntu Servers :: Setting Up Mod-musicindex Apache2

May 6, 2011

So, I followed this initially: [URL]

Now going through the readme here: [URL]

I setup /var/www/music in apache with a symlink to a mountpoint (the mount point points to a folder on a windows box. mnt/falconu points to something like U:filesmp3). The symlink is /var/www/music/p.

When I go to mysite/music everything seems to load fine, I see icons, etc. However, when I click on "p" symlink dir I get 403 forbidden You don't have permission to access /music/p/ on this server.

Here is what I put in sites-available:

Code:
<Directory /var/www/music>
Options Indexes MultiViews FollowSymlinks
AllowOverride All
Order allow,deny

[Code].....

View 1 Replies View Related

Ubuntu Servers :: Setting Up LVM With Encryption Causes Low Resolution?

Aug 9, 2011

I've installed and reinstalled Ubuntu server 11.04 about five times now.

I want to have the LVM, with an encrypted partition for holding / and /home (the swap is not encrypted).

Each time, after installing the resolution (I have not installed GNOME) is very bad and the prompt for entering the key to unlock the disk seems to scroll each time a character is entered.

The system is almost unusable at this resolution.

What can I do? I want to have an encrypted disk, but it seems at the moment that the only way to have a workable system is to install on an unencrypted partition.

View 1 Replies View Related

Ubuntu :: Create A Sub Interface And Specify A Vlan?

Nov 3, 2010

how can I create a sub interface and specify a vlan for that sub interface

Reason is that I want to connect to a switch let;s say on vlan 20 but directly to my laptop

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved