LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-08-2005, 09:14 AM   #1
johnnybhoy67
Member
 
Registered: Sep 2004
Distribution: Knoppix 4.0.2
Posts: 54

Rep: Reputation: 15
ifconfig problem in KNOPPIX 3.8.1


Hi All,

I have a problem trying to set up my eth0 with ifconfig command as follows:

ifconfig -a eth0 add xxx.xxx.xx.xxx netmask 255.255.255.0

Coming back with error message "SIOCSIFNETMASK: Cannot assign requested address"

Any Tips?

J
 
Old 11-08-2005, 09:21 AM   #2
issinho
Member
 
Registered: Jun 2005
Location: Bosie, ID
Distribution: Fedora Core 4, Kurumin,BackTrack, Slackware 10.2, IPCop
Posts: 105

Rep: Reputation: 15
Give it a shot using ifconfig eth0 xxx.xxx.xxx.xxx/24
the /24 is the equivilant of 255.255.255.0. That might solve your issue.
 
Old 11-08-2005, 09:32 AM   #3
johnnybhoy67
Member
 
Registered: Sep 2004
Distribution: Knoppix 4.0.2
Posts: 54

Original Poster
Rep: Reputation: 15
Got a new error message after trying the suggestion from issinho.

"192.168.12.112/24 Host Name Lookup Failure"

Ideas?

J
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with 'ifconfig' ? AskMe Linux - Networking 6 03-04-2008 07:04 AM
connecting /sbin/ifconfig to bash command ifconfig flammable2 Fedora 4 11-12-2005 07:58 AM
ifconfig problem Gnute Solaris / OpenSolaris 1 07-10-2005 12:49 PM
ifconfig problem Beat-Owen Slackware 2 03-30-2003 01:51 PM
ifconfig problem cape95 Linux - Networking 1 10-26-2001 05:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:26 PM.

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