LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 05-07-2005, 05:16 PM   #1
pengy666
Member
 
Registered: Apr 2004
Location: somerset,england
Distribution: KATONIX !!!
Posts: 48

Rep: Reputation: 15
dhcp no ip address and netmask dont match route address


OK so i a newbie like many people here and i trying to get internet working in suse 9.1 personal, i tried my wireless lan first (as i have a wirelees router/modem) but i just couldn't get ndiswrapper to work , so i just enabled on board lan! i got the card found and a module(driver) working i think!

i had a good read around here and i got some good tips from some peoples "similar" problems and i've made a little bit of progress but i keep getting

dhcp no ip address signed .....backgrounding ? wtf?

havent a clue why so i messed around as you probably shouldnt and this is what i did

tux2:~ # ifup eth0
eth0 device: Silicon Integrated Systems [SiS] SiS900 10/100 Ethernet (rev 91)
eth0 configuration: eth-id-ff:ff:ff:ff:ff:ff
DHCP client is already running on eth0
Warning: interface eth-bus-pci-0000:00:0c.0 is not (yet?) active.
Warning: interface eth-bus-pci-0000:00:0c.0 is not (yet?) active.
Warning: No interface active (yet?)

so i aint worried about eth-bus-pci thats my wlan0 i cant sort out

so i just kept tinkering away i did this

tux2:~ # ifconfig
eth0 Link encap:Ethernet HWaddr FF:FF:FF:FF:FF:FF
inet6 addr: fe80::fdff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1299 (1.2 Kb) TX bytes:27730 (27.0 Kb)
Interrupt:10 Base address:0xd800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:246 errors:0 dropped:0 overruns:0 frame:0
TX packets:246 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:17892 (17.4 Kb) TX bytes:17892 (17.4 Kb)

so i just trying all sorts now to try and get internet???

so i did more tinkering after checking on this forum

right i thought armed with more commands than i really understand so i did this

which seemed to get me more progress konquerer at least looked for something for a few minutes this time

tux2:~ # ifconfig eth0 192.168.1.4 netmask 255.255.255.0 up
tux2:~ # route add default gw 192.168.1.4 eth0
tux2:~ # route add -net 192.168.1.4 netmask 255.255.255.0
route: netmask doesn't match route address
Usage: route [-nNvee] [-FC] [<AF>] List kernel routing tables
route [-v] [-FC] {add|del|flush} ... Modify routing table for AF.

route {-h|--help} [<AF>] Detailed usage syntax for specified
AF.
route {-V|--version} Display version/author and exit.

-v, --verbose be verbose
-n, --numeric don't resolve names
-e, --extend display other/more information
-F, --fib display Forwarding Information Base (default)
-C, --cache display routing cache instead of FIB

<AF>=Use '-A <af>' or '--<af>'; default: inet
List of possible address families (which support routing):
inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25)
netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP)
x25 (CCITT X.25)
what that all about? so i did this


tux2:~ # netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.4 0.0.0.0 UG 0 0 0 eth0

so can anyone help dechiper this and explain to me what i'm doing wrong?

i have tried yast but nothing seems to work in yast so i'm just trying to establish a connection to something!!

before i did these last ip assignments if i did a ping to router i just got "network unreachable"
after doing these i get no response so i feel i did something but aint sure what is right? i'm sure its to do with dhcp not having an ip address?

thanks in advance from a newbie

robin
 
Old 05-08-2005, 09:33 AM   #2
pengy666
Member
 
Registered: Apr 2004
Location: somerset,england
Distribution: KATONIX !!!
Posts: 48

Original Poster
Rep: Reputation: 15
wel i just decided to try red hat not used it yet and suse personal aint got a fatlot with it! hopefully i can sort it out

Last edited by pengy666; 05-08-2005 at 09:35 AM.
 
  


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
VMWare Linux Kernel address space mis-match madiyaan Linux - Newbie 4 06-19-2006 09:03 PM
Can I route web traffic to 2 different hosts based on URL under 1 IP Address? Marshalle Linux - Networking 5 05-14-2005 03:02 AM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 04:33 AM
DHCP Server MAC Address found, IP address not assigned wmburke Linux - Wireless Networking 17 11-17-2004 10:33 AM
address match list syntax for bind dguy Linux - Networking 2 07-16-2002 09:08 AM

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

All times are GMT -5. The time now is 03:35 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