Ubuntu Networking :: Configuring IPv4 With Fixed Ip?

Aug 2, 2010

Our router is pretty old and only capable of giving fixed ip and there is no support for IPv6. Via the gnome networkmanager I try to set a manual IP to 192.168.1.123 and a netmask to 255.255.255.0 and a default gw at 192.168.1.1 . However, this does not work.

If I open a terminal and type:

Code:
sudo ifconfig eth0 inet 192.168.1.123
sudo route add default gw 192.168.1.1
Then I get a perfectly valid connection to the internet.
ifconfig by it self returns:

[Code]....

ffor me it seems that the gnome network manager doesn't save the information that I gently ask it to.

I can fix it with the CLI commands, but I would like to know whats going on.

View 6 Replies


ADVERTISEMENT

General :: Give Server A Fixed IPv4 Address?

Aug 2, 2010

I am new to Linux so thought it would be a good learning exercise to try and setup an FTP server using linux.I have downloaded and installed Ubuntu 10 server edition and installed vsftpd, following instructions found on here I have configured the software and I can connect from an FTP client on my windows PC across the internal LAN.I have a couple of questions if I may:

1) a post on this forum suggests that local users can access the FTP server if the correct line is enabled in vsftpd.conf - I have done this and the fact that I can access it shows this is working I would think, however users added subsequently with the useradd command cannot access the server. Filezilla shows a could not connect to server error.

2) how do I give the server a fixed IPv4 address? It is currently using DHCP

3) I need to be able to put files into users folders for them to access offsite, but I don't want them to see each others filesfolders, can I do this?

View 5 Replies View Related

General :: Configuring IPv6 Automatically And IPv4 Statically?

May 6, 2011

I've got a Ubuntu Linux box that has two IPv4 addresses and an IPv6 address. This is my current /etc/network/interfaces:

auto lo
iface lo inet loopback
auto eth0 eth0:0

[code]....

View 1 Replies View Related

Red Hat :: Disabling IPv4 Packet Forwarding: Net.ipv4.ip_forward = 0 (CentOS 5.5)?

Oct 29, 2010

I'm forging a gateway server, We have 2 Internet connection that goes to a load balancer router, and goes to my centos server and from our server goes to a switch for Internet distribution or routing.

OS-CentOS 5.5
[root@server etc]# uname -srio
Linux 2.6.18-194.el5 i386 GNU/Linux

My eth0 and eth1 has the following configuration and IP

[root@server etc]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# VIA Technologies, Inc. VT6105/VT6106S [Rhine-III]
DEVICE=eth0
BOOTPROTO=none

[code]....

Disabling IPv4 packet forwarding but i already changed it to 1 at sysctl.conf One of the online forum says i need to configure the named.conf deleted some and run it(named.conf) and successful but still when I run network service I still get the :"Disabling IPv4 packet forwarding: net.ipv4.ip_forward = 0" The network is getting the IP range but it doesnt get any Internet connection.

View 3 Replies View Related

Ubuntu Networking :: 7.10 - No IPv4 With Eth0 - Can't Connect To LAN

Apr 19, 2010

Current problem: fresh, clean install of Ubuntu 7.10 on known good hardware does not use/produce/get/have an IPv4 associated with eth0, so cannot connect to my home network for Internet access.

Background: Have been wanting to build and maintain a home file server for some time now. Have also been wanting some hands-on practice to help me progress from Noob to Intermediate, eventually advanced Linux Tech. (I have two decades of tech support experience, but only small fraction of that using command lines and almost zero Linux.)

Anyway, every time I download and attempt to burn a recent distro on my Vista Shuttle, I only end up making drink coasters and mini-frisbees. so I thought that I might have better luck if I used a Linux Workstation to download and burn a server distro.

That's where I an now. I took one of my fully functional WinXP systems offline, replaced the WXP HDD with an old 3.2 GB, dug out my 2008 edition Linux Bible, popped in the DVD that came with it, and installed Ubuntu 7.10.

Everything else seems to have progressed smoothly, but I cannot seem to get the onboard Via chipset ethernet controller to talk to the router. When I run "ifconfig" in Terminal, I see IPv6 info, but nothing for IPv4.

When I try to configure eth0, it doesn't matter whether I set it up for DHCP or static... nothing works.

Is there a command line tht I can use in Terminal to manually configure eth0 to use IPv4?

View 3 Replies View Related

Ubuntu Networking :: Apache Binds To Ipv6 But Not To Ipv4?

Sep 1, 2011

On my 10.04 LTS Ubuntu Server installation, apache2 doesn't bind to ipv4. It does bind to ipv6. I didn't notice this at first, because from my home connection I could visit the webpages without trouble. I noticed it running netstats -ta:

Code:
tcp 0 0 localhost:10024 *:* LISTEN
tcp 0 0 localhost:10025 *:* LISTEN
tcp 0 0 localhost:mysql *:* LISTEN
tcp 0 0 localhost:spamd *:* LISTEN

[Code].....

View 2 Replies View Related

Ubuntu Networking :: Open Ports - How To Explicitly Check IPV4

May 4, 2010

Normally I use 'netstat -an' to determine if a daemon is listening on a specific port. The excerpt of this command below doesn't list things like vnc (5900) on ipv4. It does however show it on ipv6. My issue is I want to know how to determine if it is indeed listening on ipv4 as would normally be seen with 0.0.0.0:5900. It would appear that all ipv4 ports are internally being redirected to ipv6. Of course this does simplify things, but it also leaves me unable to reliably determine the ipv4 listening status. How I can tell at a glance if a specific ipv4 port is being listened on? Is there a way to force netstat to list the ipv4 listens specifically?
Code:
art@eee1:/proc/sys/net/ipv6$ netstat -an
Active Internet connections (servers and established) .....

View 1 Replies View Related

Networking :: Duplicate Address Detection In Ipv4?

Sep 22, 2009

Linux has duplicate address detection mechanism for IPv6 and nothing for IPv4 in kernel. At boot time, initscripts take care to check for the duplicate address but when an IP address is assigned using ifconfig or ip utility, no error is generated.

View 2 Replies View Related

Networking :: No IPv4 On Eth0 - No Connect To Router

Apr 20, 2010

I have tried clean installs of Knoppix v0.6, Xandros 2.0, and Ubuntu 7.1... same issue with all. I cannot seem to get eth0 (via chip on mobo) to get/have/use IPv4. ifconfig shows only IPv6. (I cannot paste any info because linux desktop is on different box.)

End result is that I cannot get the linux desktop to connect to my lan, either with dhcp or with static ip.

I have a belkin router configured as my gateway 192.168.3.1 and nothing fancy with the setup. I have dhcp open for 192.168.3.245 thru ...254 and at most there are only 4 systems in home connecting with dhcp at any time. all other systems have static addresses.

I have two decades of desktop and lan support under my belt, but relatively small amount of command line experience and almost no history with linux (unless you count a dozen unsuccessful attempts to burn linux distro install discs on this Vista desktop).

Therein lies the start of my prob. I need to build and manage a fileserver for my home, but cannot seem to get a working installer cd or dvd to burn from anything I download.

So I said to myself, "Self," I said, "you're a tech. Build a workstaion, use the DVD that came with your Linux Bible (2008 Ed.) to install one of the linux distros on it, then download a recent, stable server distro and burn it using the linux workstation."

Unfortunately, if I cant get an ipv4 connection to my home network, I cant get out to the Internet to download any newer ISO files.

So what am I missing or doing wrong? How do I tell linux to stop trying to use IPv6 and let me use IPv4?

BTW, eth0 works just fine if I install Windows on that PC, so I know its not bad HW. Could it be a driver issue? Or do I need to use some Terminal command to turn off IPv6 and reconfigure eth0 for IPv4?

View 5 Replies View Related

Networking :: IPV4 Syntax - Any Host On Network?

Sep 2, 2009

Can someone explain me ipv4 notation like:
192.168.1.0/255.255.255.0
Does it mean "any host on 192.168.1.x" network?

View 1 Replies View Related

Ubuntu Networking :: Assigned IPV4 Settings Manually - No Internet Connectivity

Jun 20, 2011

I am new to UBUNTU. I installed the latest one alongside windows 7. I am having problem with the internet connectivity. I configured the static ip settings right I guess. Edited the Auto eth1 and assigned ipv4 settings manually and entered everything correctly.

Address 192.168.xx.xx
Netmask 255.255.255.0
Gateway 192.168.xx.xxx
DNS Server xxx.xxx.xx.x, xxx.xxx.xx.x

Do I have to put MAC Address as well? Which is addressed as 'Network address' in Windows where I put this MAC. I have on board Realtek RTL8101E Family PCI-E Fast Ethernet NIC (NDIS 6.20) Network adapter. Do I have to install the driver?

View 3 Replies View Related

Networking :: Multiple IPV4 Addresses Not Working After Boot

Oct 15, 2010

Fedora 12 running under VirtualBox 3.2.8 w/ Bridged networking
Host OS Windows 7

I have 3 IP addresses set up in on my Fedora 12 installation:
Directory: /etc/sysconfig/network-scripts/
ifcfg-eth0 -> 192.168.0.170
ifcfg-eth0:0 -> 192.168.0.171
ifcfg-eth0:1 -> 192.168.0.172

Hostname is configured to host associated with 192.168.0.170 in /etc/hosts

When I reboot and execute
# ifconfig

eth0 is associated with the 172 address and the other addresses are not active. After I run
# service network restart

All of the addresses are active and associated with the correct interfaces. Content of my ifcfg files below:

/etc/sysconfig/network-scripts/ifcfg-eth0 :
Code:
# Intel Corporation 82540EM Gigabit Ethernet Controller
DEVICE=eth0
HWADDR=08:00:27:0A:9D:24
ONBOOT=yes
TYPE=Ethernet
BOOTPROTO=none
IPADDR=192.168.0.170
PREFIX=24
DNS1=192.168.0.1
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
GATEWAY=192.168.0.1
IPV6INIT=no
USERCTL=no
NM_CONTROLLED=yes
/etc/sysconfig/network-scripts/ifcfg-eth0:0 :

Code:
# Intel Corporation 82540EM Gigabit Ethernet Controller
DEVICE=eth0:0
TYPE=Ethernet
BOOTPROTO=none
IPADDR=192.168.0.171
PREFIX=24
DNS1=192.168.0.1
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
GATEWAY=192.168.0.1
IPV6INIT=no
USERCTL=no
ONPARENT=yes
NM_CONTROLLED=yes
ONBOOT=yes
/etc/sysconfig/network-scripts/ifcfg-eth0:1 :

Code:
# Intel Corporation 82540EM Gigabit Ethernet Controller
DEVICE=eth0:1
TYPE=Ethernet
BOOTPROTO=none
IPADDR=192.168.0.172
PREFIX=24
DNS1=192.168.0.1
NAME="System eth0:1"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
GATEWAY=192.168.0.1
IPV6INIT=no
USERCTL=no
ONPARENT=yes
NM_CONTROLLED=yes
ONBOOT=yes
After booting:

Code:
# ifconfig

eth0 ....

Restart network:
Code:
# service network restart
. . .
# ifconfig

eth0 ....

eth0:0 ....

eth0:1 ....

View 3 Replies View Related

Networking :: Enable Duel Ipv4 / Ipv6 Stack On System?

Mar 12, 2010

How do you I use duel stack i.e How do I use ipv6 packet inside ipv4 packet using fedora kernel 12 ?

View 1 Replies View Related

Ubuntu Networking :: 9.10 Server - Fixed IP Eth0 Disappeared

Mar 9, 2010

Ubuntu server 9.10. I have configured my network connection using GUI Network connection. It worked fine with DHCP, but when I assigned a fixed IP eth0 has disappeared. How can I restore it?

View 3 Replies View Related

Ubuntu Networking :: Using Aircrack-ng [fixed Channel Mon1?

Feb 2, 2011

I am trying to audit my wireless router due to someone in the neighbourhood hacking it, and have run into a few problems. When I run airodump-ng, everything works fine. However, when I try to get the .csv file and run "airodump-ng -w test --channel 6 --bssid ---------- mon1" (obviously with my the mac address of my AP instead of x's) I get this:

CH 6 ][ Elapsed: 4 s ][ 2011-02-02 17:48 ][ fixed channel mon1: -1 ] The problem is the [ fixed channel mon1: -1 ], because when I go to the next step to try to force a handshake, it says:

18:00:34 Waiting for beacon frame (BSSID:-----------) on channel -1
18:00:34 mon1 is on channel -1, but the AP uses channel 6

I have scoured the Internet for answers, and have seen several people with the same problem, but no solutions that work for me. I think it may have something to do with the driver. I really do apologise if this has been answered properly several times, but none of the solutions seem to be working in my case.

View 2 Replies View Related

Networking :: Apache Allow Fixed Ip Addresses

May 23, 2011

I would like have a password for accessing my web site which works fine. I also want for the specific site to allow access only for a specific range of ips. Right now the following config should forbid my access, as my ip is different from 200.200.200.*

View 6 Replies View Related

Networking :: HughesNet Is DHCP - My LAN Is Fixed-IP - Don't Want To Change That

Feb 3, 2011

For some time, I've had DSL and used Fixed-IP internally. I moved, no DSL, no cable, no nuthin' but dial-up and flaky cell-phone modem. Ugh. Along comes American Recovery and Reinvestment Act providing funding for making high-speed internet available to those of us in the boonies; no up-front or monthly equipment costs, affordable monthly changes, whoo-boy, that's for me. Installed, works, bada-boom, bada bing.

I have three servers, a network printer and a large format pen plotter that have all happily played together with fixed-IP for years connected via a Linksys BEFSR41 router and CAT-5 or CAT-6 cables and I do not want to screw around with DHCP (and the printer and plotter don't particularly like DHCP in any event). The servers talk to each other with SSH, their names and addresses are in /etc/host and all has been well with the world. DSL connected with PPPoE, HughesNet connects "automatically" to the modem with DHCP. I also have a switch available for additional LAN stuff as needed. Of course I had to do a hard reset of the router when setting up HugheNet (right back to infancy).

I do need to have DHCP enabled in the router for the limited occasions that a Winders thing gets connected to it (not my box, I don't mess with it).

Now, the actual question: is there any setting in the router that will enable fixed-IP, ignore DHCP leases unless the server is running DHCP (like a Winders box) and not bother me with screwy lease addresses that override my fixed-IP addresses? My servers are running Slackware 13.1, all configured with fixed-IP, all configured to "know" each other via /etc/hosts, /etc/resolv.conf has DNS Server address in it (and DHCP is not permitted to overwrite /etc/resolv.conf.

View 4 Replies View Related

CentOS 5 Networking :: How To Switch From DHCP To Fixed IP

Jan 25, 2009

Assume I installed originally CentOS Desktop with IP receiving from DHCP server.Later I decided to assign a fixed IP to the local CentOS installation.How do I switch (permanently) the dynamic DHCP IP assignment to a fixed IP?

View 1 Replies View Related

Networking :: NFS Booted Client Lockd Ports Not Fixed

Mar 18, 2010

I boot some Slackware with PXE. All work fine except i can't fix the client lockd ports.NFS is compiled inside the kernel, so all modprobe.d options are useless.But rpcinfo -p on the client side shows me totally different ports.On the NFS server, the ports are ok, as i appended lines in /etc/lilo.conf Server and client kernels/modules are identical.

View 1 Replies View Related

Fedora Networking :: Commands To Switch From DHCP To Fixed IP Address?

Feb 20, 2009

When I install Fedora 10 on a new system, I let it default to DHCP. Later, I change the system to a fixed IP address by running system-config-network, selecting eth0, clicking on "Edit", clicking on "Statically set IP addresses:" and filling in the blanks. Is it possible to accomplish the same thing using commands that could be entered in a script? I assume one of them would be

Code:
ifconfig eth0 address XXX.XXX.XXX.XXX netmask 255.255.255.0

View 1 Replies View Related

Ubuntu Networking :: How I Fixed Asus USB-N13 Compile Errors In Ubuntu 10.10

Oct 21, 2010

It seems with the newer linux headers, two functions changed their names slightly and caused a crash when attempting to build the Asus-provided USB-N13 drivers.

I'm still in the middle of getting the device to work, but actually compiling the driver was a major problem for me and others I've seen that complained of the breakage in 10.10.

Here's the fix:
Within the include/os/rt_linux.h and os/linux/rt_usb_util.c files, the usb_buffer_alloc and usb_buffer_free functions are part of an internal macro. These functions do not exist anymore and are replaced by the usb_alloc_coherent and usb_free_coherent respectively. Input parameters did not change, just the names.

The macro is defined in rt_linux.h and the functions are used in a symbol export within rt_usb_util.c. Simply renaming the functions should allow it to build.

As I said, I'm still in the process of getting the wireless to work, just wanted to let everyone know of the quick fix.

This issue will probably be addressed with a macro fix somewhere eventually.


#define usb_alloc_coherent(a, b, c, d) usb_buffer_alloc(a, b, c, d)
#define usb_free_coherent(a, b, c, d) usb_buffer_free(a, b, c, d)

View 3 Replies View Related

Networking :: Eth0 Fixed IP - Eth1 DHCP Gateway - Access To Eth0?

Aug 19, 2009

5.10 Breezy configured as machine controller. Works great eth0 is a fixed IP to communicate with controller comms board. Not easy at all to alter - the comms board is hard coded to listen on eth0 for commands.

I can use eth1 as the default gateway and ping google.com, etc. But when I now attempt to communicate with the controller with netcat, e.g.

Code: echo !HH | nc 192.168.1.6 80

I obviously never get an answer since the request is passed via eth1. Using the -g option with netcat doesn't work either. I had a look at iptables but it doesn't seem to be able to do what I want. How I can still use eth0 as my communication port to the controller whilst eth1 is the default gateway?

View 17 Replies View Related

Networking :: Dynamic IP Address With PTR Record Versus Fixed IP Address Without?

May 7, 2010

I am running my own Postfix mail server. Some time ago I noticed that most email was rejected because of the server's dynamic IP address. So I got a fixed IP address. However then I noticed that some mails got rejected due to failing the reverse DNS check. So my ISP told me to get a range of IP addresses and they could then create a PTR record for one of those addresses. That is now running but it turns out that the IP address used for the PTR record is a ... dynamic IP address. So Spamhaus PBL rejects my emails again.

View 1 Replies View Related

Networking :: New Install Of Centos 5.5 Will Not Work On Net Work With Fixed IP Or DHCP

Jan 12, 2011

I am trying to set up an unused machine as a web server for my students.

I originaly tried with Redhat 9 and had the same problems. I am using an HP Pentium 4 system with 2 network cards.

1) The built in Realtek RTL8139 configured as eth0.

2) An add in Broadcom BCM5782 Gigabit card that was added I presume when the built in card failed (we have a number of machines like this around the school), configured as eth1.

I did not realize the second card was installed when I had Red hat 9 on the system, but I discovered it after installing centos 5.5. I have tried to configure the system to use DHCP with and without getting the DNS from the provider, and both ways the system complains that there is no connection, check the cable, so it will not activate the device.

When I configure the device to use a fixed IP, I can configure the device, but I can't ping anything on the network other than myself. I suppose it is possible that both network cards have failed, but I get green link lights with both cards, when I connect them to my router, so I am at a loss as to why neither board seems to work. I don't have a spare network card to slide in because the computer takes a special mini card. Is there an easy way to test the board to see if the board is a problem?

View 2 Replies View Related

Ubuntu Networking :: Configuring New Wi-Fi Router?

Mar 18, 2010

I am using Ubuntu 9.10. I just got a Linksys WRH54G wireless router. I want to protect my wireless connection by putting a password to it but when I enter the Router's default IP address (192.168.1.1) into my browser to open the 'Utility Welcome screen', the browser does not respond.

According to the Router's manual this is because PC' TCP-IP is not set to automatically obtain the IP address.

View 9 Replies View Related

Ubuntu Networking :: Configuring Internet In 10.04

Jun 11, 2010

I recently bought a dell inspiron 14 n4010 and i've installed windows and Ubuntu 10.04 in it. The problem is that i'm not able to access internet in my ubuntu. I'm using asianet broadband connection and i'm able to get internet in my desktop when i connect the cable to the system. But when i did the same with ubuntu 10.04 in my laptop, i'm not able to get internet access. I'm able to access internet in windows though. But i hate using windows.

View 9 Replies View Related

Ubuntu Networking :: Configuring BSNL In 10.10?

Nov 4, 2010

way of life and am having trouble accessing the internet.

View 6 Replies View Related

Networking :: Configuring 2 NIC's On Ubuntu Desktop 10.04

Apr 20, 2011

I have 2 pc's at home, neither v flashy but both more than capable of running this. Previously I had them both running XP SP2. One pc has 2 NICs in it and the second only one. So, PC1 (now running Ubuntu desktop 10.04) has the 2 NICs installed ...

1) A realtek NIC which is on 'eth1' and from which I receive internet connectivity from the router of this shared house. (2 other people connect their PCs to the internet via this router.)

2) A 3com NIC on 'eth0' which I have connected (using a crossover cable) to the Intel 'PRO100 VM' NIC on PC2.

Admittedly this took me some time to get half working. Currently I can connect to the internet through 'eth1' OR to PC2 via 'eth0' BUT NOT AT THE SAME TIME. However, If I disconnect one (by left clicking on 'disconnect' under the top of screen menu bar, then the other one will immediately work ... and visa versa.

I had this working when both PC's were running windows XP but now in trying to educate myself further I have installed Ubuntu on PC1 and am attempting the same thing. I refuse to accept that as alot of these thread responses state, that it 'can't be done'. Quite clearly it can be done since the physical connections and hardware are no different, its just about ensuring that the protocols are all correct and that I haven't done something stupid.

I am very keen to learn more about computer networks and equally keen to educate myself in the ways of Linux, in fact I am studying to gain a network qualification as we speak but at this stage its still a little confusing. I have learned an awful lot about the fundamentals of networking but the 'hands on stuff' is where I really need to test myself.

View 4 Replies View Related

Ubuntu Networking :: Configuring Samba To Access A NAS?

Mar 4, 2010

I'm having problems in accessing a storage device (NAS 200 Linksys) in a network via Ubuntu. I think the problem is with the configuration of Samba.

On my computer the login and password are the same in Ubuntu (9.04), samba and Win XP.

Under windows I view the device in the network and, when I click on its icon, a window opens with the directories that have access.

Under Ubuntu, I can see all the computers in my workgroup and the device. However when I click on its icon only a blank window is opened.

I share printers without problems.

In my settings for the samba security = user.

Does anyone know if there is any configuration that allows access to the NAS?

View 2 Replies View Related

Ubuntu Networking :: Configuring A Bridged Connection?

Apr 22, 2010

how to configure a bridged connection in where we are required to enter username and password.I am currently using PPOE type connection of my modem(A Nokia siemens ADSL modem).

View 3 Replies View Related







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