LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-15-2006, 12:43 AM   #1
CJohnM
LQ Newbie
 
Registered: Feb 2006
Posts: 29

Rep: Reputation: 15
Trying to get my network up and running


Hi,
I am currently trying to set up a dual boot of Ubuntu and XP, but can't seem to get anywhere with my network (well, I also have severe problems with X windows, so I can't get a GUI up either... but that's another story, for another thread!).

I've spent the past few days finding out the basics of networking, as I really want to crack this problem. I am on a linksys wireless network, and I believe all the computers on it have static IP addresses. The router is 198.168.1.1, and the rest are incremented from there. So I guess they must be static, as I understand that's the range for static IPs. I've asked the network 'administrator', but he's no expert either so wasn't much help. He assigned the IP addresses manually when he set the network up, so I suppose it must be static. However, DHCP is still enabled on the router.

When it boots Ubuntu has been searching for leases using DHCP, and failing. When I discovered what DHCP actually was I thought that this might be the problem: that it was looking for a lease when the network is set up statically. So I did a bit more research (ie: googling) and discovered how to fix a static address. My /etc/network/interfaces is now this -

Code:
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.7
gateway 192.168.1.1
netmask 255.255.255.0

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
        script grep
        map eth0
I had to create /etc/resolv.conf, to which I added my domain name and nameservers. I also added my IP address to /etc/hosts. Still no successs, however. When I do ifconfig I now at least get an IP address listed, but no MAC address. I run Ubuntu through VMware on XP, and have no network problems there - I can even ssh into it from the XP side using PuTTY (though I'm not sure how networking applies to a virtual machine - its IP address is not in the static range, so it must have an active DHCP client). As an experiment today I tried out the Ubuntu live CD, and discovered the same networking problems. So I assigned a static address, but still no luck (I seem to have a MAC address there, though).

My conclusion is that either -

(a)I still haven't configured the network correctly
(b)It's a device problem (I have an Intel 537EP PCI Modem, which is apparently a Winmodem, and a Belkin USB Network Adapter)
(c)It's something more esoteric that I don't understand (ie: something to do with the configuration of the system as a whole, or the kernel. I generally 'don't go there!')

I'm beginning to suspect that it's probably a problem with devices not being detected, since I have the same problem with the live CD. But then again, I don't get any messages to that effect. When I ping the router it just says it can't connect, or something like that (sorry, on XP now so can't remember exactly. Nothing about devices though).

Any suggestions/advice/tips would be very welcome.
 
Old 03-15-2006, 02:44 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Please look at:
man iwconfig

Setting up a wireless network interface is similar, but still different (ie wireless frequency settings) from a normal ethernet interface (ifconfig).

See also:
http://www.debian.org/doc/manuals/re...ateway.en.html
some of this may also apply to Ubuntu. I'm no expert in Ubuntu or Debian, so I can't tell you what parts you need and what not. But check out the section on Wi-Fi interfaces (wireless).
 
Old 03-15-2006, 08:16 AM   #3
CJohnM
LQ Newbie
 
Registered: Feb 2006
Posts: 29

Original Poster
Rep: Reputation: 15
OK thanks, much obliged.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me get my network running please thesleepyhead Slackware 3 05-05-2005 05:25 PM
How do I get this network running? Peleus Linux - Newbie 3 02-17-2005 11:05 PM
can't quite get network running closet geek Slackware 3 02-24-2004 05:21 PM
Re-running network setup - how? kiltie Debian 3 10-20-2003 04:13 PM
Running network on 2.4.18 malcidragon Linux - Networking 5 07-06-2002 02:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration