04-24-2013
SIOCSLIFNETMASK usually relates to a bad CIDR specification or a condition in which the device is busy. You may want 255.255.255.0 (/24) as your subnet, for example if your bge1 has an ip like 10.n.n.n where none of the "n" is a zero.
This User Gave Thanks to jim mcnamara For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
i've got problem in running a script in background... i have written a script, and i want to run it everytime i log in, but when i log off i want the script to stay (i watch not to run two scripts at one time in the script).
so as a normal user i want to do:
$ screen my_script &
... (6 Replies)
Discussion started by: miechu
6 Replies
2. UNIX for Advanced & Expert Users
Hi,
When I try to run a script with ". "(dot space) in my home, it gives me error ".: Permission denied".
Any explanation for this behaviour?
Thanks in advance,
-Ashish (3 Replies)
Discussion started by: shriashishpatil
3 Replies
3. UNIX for Dummies Questions & Answers
HI All,
I am using solaris
i created a user adam and updated his permissions
in vi sudoers file as follows
adam ALL=(ALL) NOPASSWORD: ALL
...........
when i create user by logging as sudo user .
$ sudo useradd -d /home/kalyan -m -s /bin/sh kalyan
sudo: not found
... (6 Replies)
Discussion started by: kalyankalyan
6 Replies
4. UNIX for Advanced & Expert Users
guest@ulidtko:~$ id
uid=126(guest) gid=134(guest) groups=134(guest)
guest@ulidtko:~$ ls -ld /home
drwxr-xr-x 8 root root 4096 May 12 19:47 /home
guest@ulidtko:~$ ls -l /home
ls: cannot open directory /home: Permission denied
guest@ulidtko:~$ cat /proc/mounts
rootfs / rootfs rw 0 0... (4 Replies)
Discussion started by: ulidtko
4 Replies
5. OS X (Apple)
Hi,
I have two machines 1. MacOSx (Users --> userMac , IP - a.b.c.d)
2. FreeBSD (Users --> userBSD, IP- p.q.r.s)
I want to modify some files of FreeBSD on my MacOS. So, I mounted the FreeBSD folder on my Mac as follows.
$ sudo mount -o -P p.q.r.s:/usr/home/user... (5 Replies)
Discussion started by: akash.mahakode
5 Replies
6. Solaris
Let me preface with I am semi-new to Solaris. I work with it in the labs at work and that's about my extent (although I run Linux at home).
Well, a week ago security comes around with updated requirements, some of which are the need to audit all failures. For the life of me I cannot get a... (0 Replies)
Discussion started by: mph275
0 Replies
7. Red Hat
I have a user who has "+ +" at the top of his .rhosts file. He cannot "rsh NODE date" to a different box ( both are RHEL 5.4 ). If I remove the "+ +" then the "RSH" works. I have correct settings of node names/user in the .rhosts file.
I even tried adding to the second box's... (3 Replies)
Discussion started by: rom828
3 Replies
8. Linux
Hello friends,
I have scratched my system and after that when I am trying to access the console via root login it's failing with an error message of "permission denied". I am able to access the other login, I am having only problem with root and some other user login. I am using an telnet... (2 Replies)
Discussion started by: sanoop
2 Replies
9. UNIX for Advanced & Expert Users
Hello friends,
I have scratched my system and after that when I am trying to access the console via root login it's failing with an error message of "permission denied". I am able to access the other login, I am having only problem with root and some other user login. I am using an telnet... (7 Replies)
Discussion started by: sanoop
7 Replies
10. OS X (Apple)
Hi,
I hope this is the correct section in the forum to post as I'm trying to SSH from my MacBook.
I was looking to see whether ssh on my jailbroken iPhone 6s (10.3.1) still works fine and was following this old reddit guide. I installed OpenSSH&OpenSSL from Cydia and changed the password using... (7 Replies)
Discussion started by: hss1
7 Replies
LEARN ABOUT DEBIAN
netmask
NETMASK(1) Debian Linux NETMASK(1)
NAME
netmask - a netmask generation and conversion program
SYNOPSIS
netmask [ options ] spec [ spec ... ]
DESCRIPTION
This program accepts and produces a variety of common network address and netmask formats. Not only can it convert address and netmask
notations, but it will optimize the masks to generate the smallest list of rules. This is very handy if you've ever configured a firewall
or router and some nasty network administrator before you decided that base 10 numbers were good places to start and end groups of
machines.
OPTIONS
-h, --help
Print a summary of the options
-v, --version
Print the version number
-d, --debug
Print status/progress information
-s, --standard
Output address/netmask pairs
-c, --cidr
Output CIDR format address lists
-i, --cisco
Output Cisco style address lists
-r, --range
Output ip address ranges
-x, --hex
Output address/netmask pairs in hex
-o, --octal
Output address/netmask pairs in octal
-b, --binary
Output address/netmask pairs in binary
-n, --nodns
Disable DNS lookups for addresses
DEFINITIONS
A spec is an address specification, it can look like:
address
One address.
address1:address2
All addresses from address1 to address2.
address1:+address2
All addresses from address1 to address1+address2.
address/mask
A group starting at address spanning mask.
An address is an internet network address, it can look like:
ftp.gnu.org
An internet hostname.
209.81.8.252
A standard dotted quad internet address notation.
100 A decimal number (100 in this case).
0100 An octal number preceded by "0" (64 in this case).
0x100 A hexadecimal number preceded by "0x" (256 in this case).
A mask is a network mask, it can look like:
255.255.224.0
A dotted quad netmask (netmask will complain if it is not a valid netmask).
0.0.31.255
A Cisco style inverse netmask (with the same checks).
8 The number of bits set to one from the left (CIDR notation).
010 The number of bits set to one from the left in octal.
0x10 The number of bits set to one from the left in hexadecimal.
AUTHOR
netmask was written by Robert Stone. Some algorithm design and optimization was provided by Tom Lear. This manual page was written by
Robert Stone.
BUGS
Let me know if you find any. This man page is a bit more simplistic than I'd like, but I've forgotten most of the groff I once knew.
SEE ALSO
ipchains(1), ipfwadm(8), netstat(8), route(8), routed(8), gated(8), tcpd(8)
Debian Project 15 May 1999 NETMASK(1)