Debian :: Assign MTU Value For Network Interface?

May 18, 2011

I have dsl broadband shared through a Modem Bridge Mode forwarded to wireless router which is configured for dhcp lease to the clients(1 Desktop, 1 Laptop).

So, in My Debian Testing Desktop, I have following lines in /etc/network/interfaces :

Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback

[Code]....

View 1 Replies


ADVERTISEMENT

Networking :: Assign A Private IP Address To The Same Interface?

May 15, 2011

I recently just upgraded from humble Linux user to confused Linux admin of my own virtual Linux server. When I issue the ifconfig command I get following output.

Code:

venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:1.2.3.4 P-t-P:1.2.3.4 Bcast:1.2.3.4 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

The WAN IP of the interface is not really 1.2.3.4 I just changed that IP for security reasons.What I am trying to figure out, is it possible to assign a private IP address to the same interface or can I only have one IP address per interface. I understand I have a mask of /32 so I am not going to be able to subnet the address to create any more addresses, so I assume I am stuck with the WAN IP (public IP) that I have, and just need to deal with it.

The reason I ask this is because I have been reading through several DNS/BIND tutorials/walk-throughs, and a lot of them specify setting up a intranet access with 192.168.1.1 address for the local DNS server, but since I am connecting to the sever via SSH I figure I do not need a private IP address.

View 5 Replies View Related

General :: Assign Port Numbers Against Interface (LAN Card)

Apr 22, 2010

I am using RHEL 5. In my Linux Box I have two Lan cards (eth0 and eth1). "eth0" is connected with network 192.168.10.0 and "eth1" is connected with network 192.168.11.0. Both Network are inter connected via routing. Now I want a situation where, I want to dedicatedly assign some port numbers against a lan card. Like eth0 will be assigned for ssh (22) and eth1 is assigned for telnet (23). So that, when a user connect to 22 port then he/she is connected to the server through eth0 , and when a user connect 23 port then he/she is connected to the server through eth1. Is it possible to do using iptables or other?

View 2 Replies View Related

Debian Installation :: Network Interface Up But Network Manager Not Working?

Aug 20, 2010

Config: Squeeze, 2.6.32-5-amd64I just installed squeeze and the network is up and nm-manager deamon if working but the Gnome applet doesn't seem to work as usual. It indicates no network although the network is available as indicated by ifconfig and route below. When I switch WiFi on, the nm works flawlessly. When I click on the applet icon it says "Wired Network: device not supported" (or similar, msg in french is

eth0 Link encap:Ethernet HWaddr 00:1f:e2:12:ea:d8
inet adr:192.168.0.182 Bcast:192.168.0.255 Masque:255.255.255.0
adr inet6: fe80::21f:e2ff:fe12:ead8/64 Scope:Lien

[code]...

View 3 Replies View Related

Ubuntu Networking :: Samba With Bridge Interface / Cannot Assign Requested Address?

Sep 17, 2010

I have two network interfaces in my pc eth0 and wlan0 and a virtual one br0.

router <= eth0 (0.0.0.0) => br0 (192.168.1.10) <= wlan0 (0.0.0.0) => other pc.

On startup of my pc (ubuntu 10.04 server x64), samba bind itself only to loopback network interface, as i can see when i do netstat -an , preventing me to enter in my shares from a remote pc.

Here is my configuration regarding samba network:

Code:
interfaces = 127.0.0.0/8 192.168.1.0/24
bind interfaces only = yes
and my /etc/network/interface
Code:
# The loopback network interface
auto lo
iface lo inet loopback
code....

Any idea fo speed up my bridge configuration or to force samba to wait unitl the bridge is ready?

View 1 Replies View Related

Debian Configuration :: Choose Which Network Interface A Program Uses?

Jan 29, 2011

Suppose I have both a hardwired and a wireless network connection active on the same system at the same time. Can I tell my browser which one to use? Can I tell other programs which one to use? Or do they choose for themselves> Or does some automatic system protocol select which one to use for them?

View 5 Replies View Related

Debian Installation :: Start Job Running For LSB - Raise Network Interface

Feb 11, 2016

I have just installed debian-live-8.3.0-i386-lxde on my old hp530 32-bit laptop

Everything went well but every time I start my laptop I get following message which lasts for approx 1m 20s ...

Code: Select allLoading, please wait...
fsck from util-linux 2.25.2
fsck error 2 (No such file or directory) while executing fsck.ext4 for /dev/sda1
fsck exited with status code 8
[  13.941532] systemd-fsck[145]: DEBIAN8: clean,140919/640848 files, 978992/2560942 blocks
[ ***]A start job is running for LSB: Raise network interfaces. (1min 20s / no limit)
with the 3 asterisks above moving back and forth.

... then it boots OK into operating system. so apart from the delay everything is working ok.

View 14 Replies View Related

Debian Configuration :: Systemd Fails To Raise Up Network Interface

Mar 15, 2016

Is this a problem of systemd or network-manager however when I started to see this alert I noticed the nm-applet doesn't start automatically anymore.

Code: Select allsystemctl status network
networking.service       network-online.target    network.target
network-manager.service  network-pre.target       
zagor@Debian-635:~$ systemctl status networking.service
● networking.service - Raise network interfaces
   Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor prese

[Code] ....

View 5 Replies View Related

Debian Configuration :: How To Prevent Auto Up An Interface At /etc/network/interfac

Jul 27, 2011

I have a ppp0 entry with post-up options like this

mapping ppp0
map none photon-plus motorola
map timeout: 12
## map init-time: 12 # for slow drivers

[code]...

If I comment those off then no such problem, hence some how ppp0 executed automatically and there is no [auto ppp0] any where. How can I stop this forcefully ?

View 2 Replies View Related

Networking :: Prevent Auto Up An Interface At /etc/network/interface File ?

Jul 18, 2011

I have a ppp0 entry with post-up options like this

mapping ppp0
map none photon-plus motorola
map timeout: 12

[code]...

View 8 Replies View Related

Red Hat :: Add IPs To A Network Interface As Virtual Interface Like Eth0:0?

Apr 14, 2011

I found multiple sites explaining how to add IPs to a network interface as virtual interface like eth0:0. However I can add IPs to an interface as well using the ip command: ip a a 192.168.2.2/24 dev eth0 What I want to know is how I can make this persistent on rhel/centos.

View 2 Replies View Related

Server :: Error - NFS Share On A Debian Lenny Server With To Network Interface

Mar 16, 2010

I am running a NFS share on a Debian Lenny server with to network interface.

Sometimes when booting the server the following messages i shown in syslog:

Code:

If the system is rebooted then NFS is functional again. I would like to know way this happens somtimes so i can repair it, anyone with an idea? Another thing is that i would like to bind the NFS service to a specific interface e.g eth1 is this possible?

View 2 Replies View Related

General :: Network Connection - Doesn't Assign Any IP Address To Machine

Feb 11, 2009

I have installed Ubuntu 8.10 Server Edition on Virtual Box. When I start the virtual machine I do not have connection to my home network. The router I have does not assign any IP address to this machine. Now I have some questions which I am finding hard to find answers for over the internet and other forums.

If I do have a network interface (I checked this using ifconfig -a) then is there a command to actually make the operating system connect to that network (something like repair on windows)?? Also what is the difference between a network interface with alias eth0 and eth5? I know that when it was eth0 the virtual machine used to connect to the network automatically. Now that it is eth5 it does not! I do not know however if this is related.

View 3 Replies View Related

OpenSUSE Network :: Assign IPv4 And IPV6 Static Addresses?

Feb 19, 2010

How do I assign IPv4 and IPv6 static addresses permanently in OpenSUSE 11.2? Currently I am only able to assign either IPv4 or IPv6 static address not both. I cannot find even the interfaces file(/etc/sysconfig/network/interfaces).

View 2 Replies View Related

Software :: Assign New Gateway When Servers Hosted On Non DHCP Network

Jan 29, 2009

Does anyone know if you switch networks Where you have your servers hosted on a Non-DHCP Network, and you switch your IP addresses, then do you have to switch change/assign your new gateway address? I'm not sure if its manually assigned? How do you do it? Also what about nameserver resolving?

View 2 Replies View Related

CentOS 5 Networking :: Does Network Install Assign Pingable Ip During Installation

Jul 23, 2011

Does a network install assign a pingable ip during installation? I am trying to verify why I get an error during installation that "stage2.img" cannot be found and I'm guessing that since I can *not* ping the static IP I assigned, that the network functionality is not working during the install process. Can anyone confirm if I should be able to ping a system during installation using the assigned static IP?

View 1 Replies View Related

Ubuntu Networking :: Configuring The Network Interface Via Dhcp - Network Messages - Code: 00 55 89 E5 0f 1f 44 00 00 Fa 5d C3 90 8d 74 26

Apr 7, 2011

I am totally new to Linux and have just installed ubuntu 10.10. After configuring the network interface via dhcp I started getting these messages that come in so frequently I can't configure anything else.

[87.186415] Stack:

Why I am getting this messages and more importantly how do I get rid of them.

The installation is on a VM on Hyper-V.

View 1 Replies View Related

Networking :: Configure A Network Route To A Host For Testing Network Interface?

Aug 30, 2010

today I tried to configure a network route to a host for testing my network interface. Code: route add 192.168.1.15 eth0 As I have to eth interfaces and both interface got their IP from DHCP (192.168.1.11 and 192.168.1.12) and are in the same subnet, I shut the other interface down:

Code: ifconfig eth1 down Then I tried to test the interface by doing a ping to 192.168.1.15.
Problem: When I unplug the cable from eth0 (and eth1 is still plugged) the ping still works. Somehow my linux (it's debian) powers up again eth0 and pings over this port.

How can I stop my linux doing this. I just want to have the route added only on the one interface - not the other. Is it maybe some case of a default-gateway?

View 5 Replies View Related

OpenSUSE Network :: Lost Wired Network Interface Eth0

Feb 14, 2010

Last night while setting up wired & wireless connection in openSuse 11.2 Gnome version via YAST's ifup, I got wireless but lost wired connection (interface eth0). Dmesg shows that eth0 became eth1. I cannot get eth0 back. Is there any way to remedy this situation, eg. get info from the Ubuntu partition in my triple-boot laptop, without having to re-install openSUSE?

View 3 Replies View Related

OpenSUSE Network :: Start Network Interface At Virtual Terminal

Mar 1, 2010

I would like to use zypper to update openSUSE 11.2 through the Virtual Terminals (tty1 thro' tty6).

Network Interface is wlan0 (Wireless LAN, home network through a Router) that requires a password using WPA2.

My question is how to start wlan0 through the command-line ?

View 9 Replies View Related

Fedora Security :: Switch Off The Network Interface But Light Of Network Card Plugged In The Router Stays On (green)

Dec 26, 2010

I have a laptop connected to the the net thru an adsl modem, when I switch off the laptop network interface,(thru system-config-network) the light of the laptop network card plugged in the router stays on ( green) where as in my pc, when i do the same thing , the light of my pc network card goes off in the modem

View 5 Replies View Related

Debian :: Assign An Admin Account To FTP?

May 1, 2010

I just installed ProFTPD. So I want to create a user namely ftpadmin. He belongs to the new usergroup ftpuser that I just created.

sudo groupadd ftpuser
sudo useradd -s /bin/false -g ftpuser -d /var/www ftpadmin
sudo passwd ftpadmin
.....
chmod -R g+w /var/www

and when I followed the tutorial

chown -R ftpadmin /var/www/*, chgrp -R users /var/www/*

it returned an error "invalid mode: ftpadmin " why?I want my users to login my server via FTP

View 1 Replies View Related

Debian :: Assign 775 To All The Files Using One Command?

Sep 22, 2010

is there anyother way of creating an user without the support of graphical or command base. one more question is what is the syntax to assign using chmod to a directory consisting of n number of files at atime in one single syntax suppose i want to assign 775 to all the files using one command

View 2 Replies View Related

Debian :: Assign The 2.6.32-3-686 Kernel To Be The Default In Grub?

Jun 7, 2010

I recently installed Squeeze. I noticed there are 2 main kernels installed. One first one at the top is 2.6.32-trunk-686 and the other is 2.6.32-3-686. At the time, I did not know or think much about it. Now when I try to get linux headers to compile drivers, I am not finding them. I also read some problems with trunk kernels.

How can I assign the 2.6.32-3-686 kernel to be the default in grub? Is it OK to use it as the main kernel?

Do I need to upgrade the trunk kernel to rid of trunk or just don't use it?

View 9 Replies View Related

Debian Configuration :: Assign Devices To Pci-stub

Apr 24, 2016

I'm trying to assign pci devices to pci-stub at boot before any of the kernel drivers can access it. I've successfully managed to do this on a Ubuntu system but I cannot get it to work on Debian. I've set pci-stub to load as a module in /etc/modules. I've then tried both these methods:

Add pci_stub ids=8086:100f to /etc/initramfs-tools/modulesSet GRUB_CMDLINE_LINUX_DEFAULT="pci_stub.ids=8086:100f" in /etc/default/grub.

Both give the same result after updating grub/initramfs and a reboot: when I check "dmesg | grep pci-stub" I get:

Code: Select all[ 1.522487] pci-stub: add 8086:100F sub=FFFFFFFF:FFFFFFFF cls=00000000/00000000

The actual device id's are not claimed by stub. Same for lspci -v which shows that the devices are still using the kernel drivers.Again, this configuration works on Ubuntu. Also issuing the following commands successfully assigns one of the devices to pci-stub but I need it to work on boot before the kernel drivers load:

Code: Select allecho "8086 100f" > /sys/bus/pci/drivers/pci-stub/new_id
echo 0000:02:02.0 > /sys/bus/pci/devices/0000:02:02.0/driver/unbind
echo 0000:02:02.0 > /sys/bus/pci/drivers/pci-stub/bind

View 1 Replies View Related

Debian :: Assign Unallocated Space To Existing Partition

Sep 15, 2009

I have a problem that Google didn't give me a workable solution so I'm posting my question here, hoping that someone has an idea.On a virtual server (VMWare) running Debian 5 I have a disk of 15Gb.

Can anyone tell me if this is possible? I've been playing around with GParted but unsuccessfully. The other option is to 'move' the whole server to a new (to create) virtual server that uses LVM. Any ideas?

View 5 Replies View Related

General :: Assign Debian Running On Virtual Box A Static Ip?

Jan 11, 2010

I would like to assign a static IP to Debian running on my virtual box. How should I do it? What needs to be written in /etc/network/interfaces.

View 5 Replies View Related

Debian Configuration :: How To Assign Specific Local IPs In Home LAN Using DHCP?

Apr 29, 2011

I have some beginner questions about DHCP, Avahi, and configuring a small home LAN.Suppose I have a dynamic IP address assigned by my ISP, which requires DHCP be enabled in my dsl modem/router/"firewall" [sic]. Suppose for simplicity I have just one PC behind the dsl modem.I think "enabling DHCP" in the modem/router means that a DHCP client runs on the router, which communicates with a DHCP server run by my ISP when I boot up a PC on my LAN. Is that guess correct? Can I get DHCP to assign a particular local IP, say 192.168.1.10 (which is not the one taken by the router--- for this discussion, let's say that is 192.168.1.0) to my PC each time I boot it up?

Now suppose I want to build a stand-alone firewall, so that my LAN will have the firewall and the first PC behind the modem, with the first PC virtually behind the firewall. By default, I think these will both have DHCP clients running which I need to configure properly. The firewall should also have a DHCP server which should control how local IP addresses are assigned, correct? I should try to arrange that the LAN has only DHCP server, only one NTP timeserver, only one DNS nameserver, correct?My first PC seems to have installed an autorun client called Avahi, which performs DNS multicast services and incorporates something called zeroconf which seems to have something to do with remote desktops, which I don't need and which is a potential security hazard. But it seems that Avahi is an intrinsic part of the KDE desktop and cannot be removed. Just want to be sure that Avahi can coexist comfortably with dhcp3-client, which is also installed on that PC. They perform different tasks, correct?If I can get the stand-alone firewall to work, I know I need to turn off the commercial firewall in the dslmodem/router/firewall device. Should I purchase a bridge and try to turn off the routing function also?

View 8 Replies View Related

Debian Multimedia :: Assign One Virtual Desktop To One And Another Adjacent Second Monitor

Mar 24, 2010

I'm using kde 3.5.10 on a Debian Lenny with xorg from backports and nvidia proprietary driver (195.36.15) on my laptop. Nowadays I have received a 2nd monitor, end my purpose is to attach it to my laptop. TwinView or separate X screen work fine but clone or extended view modes for my mind are not so usefull. I think there is the possibility to assign one virtual desktop to one monitor and another adjacent virtual desktop to the second monitor. how to obtain this kind configuration.

View 2 Replies View Related

Debian Hardware :: Failed To Assign Any Connected Display Devices

Jun 8, 2015

Had this strange issue ....

Steps
a. Working Gnome desktop with NVidia proprietary drivers in Jessie.
b. Something happened (see below)
c. Still working Gnome desktop with NVidia proprietary drivers in Jessie.
d. Reboot
e. Boot up in low res -can see the terminal messages but no X/ Gnome Desktop
f. CtrlAlt-F1 takes to terminal login
g. Log in, looked at dmesg, syslog shows no errors but looking at Xorg.[0-5].log shows:

Code: Select all[     7.942] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20130102)
[     7.943] (II) NVIDIA(0): NVIDIA GPU GeForce GT 240 (GT215) at PCI:1:0:0 (GPU-0)
[     7.943] (--) NVIDIA(0): Memory: 1048576 kBytes
[     7.943] (--) NVIDIA(0): VideoBIOS: 70.15.27.00.00
[     7.943] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[     7.945] (--) NVIDIA(0): Valid display device(s) on GeForce GT 240 at PCI:1:0:0

[Code] ...

After looking at this post [URL] .... poked around at the back of the monitor and found the DVI cable loose. Plugged it in tight and rebooted and Gnome desktop came up as good as ever.

Step b. , as it turns out, was someone had adjusted the monitor height resulting in the DVI cable coming loose but not getting pulled out entirely.

View 0 Replies View Related







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