Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Network settings on Motorola System V R32V3.2 Post 302899698 by Tilmar on Wednesday 30th of April 2014 05:03:10 PM
Old 04-30-2014
Okay, so I figured out the default gateway. There is an entry in the file /usr/etc/init.d.conf that is DEFAULTGATE=<gateway>. After I set it, the default gateway is set on reboots.

So, now I'm on to the subnet mask. I can change the subnet mask using the ifconfig command, but it does not stay after reboot. Does anyone have an idea where I should look?

Thanks again for the help.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Network settings on Red Hat

HELP!! How do you change the network setting from auto-duplex to 100 Base T Full Duplex in Red HaT? (1 Reply)
Discussion started by: johnlong
1 Replies

2. UNIX for Dummies Questions & Answers

Network settings

Total newbie here!! How do I view and alter network settings (ip address, subnet mask and default gateway) in UNIX? Thanks in advance.. (3 Replies)
Discussion started by: ZappaDub
3 Replies

3. Linux

Mandriva 2006 keeps resetting network settings...

I've been looking for documentation on how to stop this behavior. I have two nics in my system. eth0: configured manually and as a dhcp server for the local network eth1: configured w/ dhcp enabled connected to router dns server addresses keep getting reset every few minutes. i suspect... (0 Replies)
Discussion started by: rbetzen
0 Replies

4. Shell Programming and Scripting

Taking a system off a network on a system

say i have a system on thats on a network with access to the internet. now, i have sensitive information on this system and i do not want the system to be connected to the outside world anymore. how do i get it off the network without actually having to disconnect the cables? i'm asking this... (4 Replies)
Discussion started by: Terrible
4 Replies

5. Solaris

Network settings

I have problem with network settings. Where i can find network config ? I'm newbie, but i very want learn this OS. I find : /etc/hostname.<interface> /etc/netconfig /etc/netmasks /etc/networks /etc/inet/hosts But where i can write my IP-address and after reboot i be know that my server... (2 Replies)
Discussion started by: jess_t03
2 Replies

6. HP-UX

Network Printer Settings-landscape/portrait mode

Hello everyone.. While printing through command line, we can set printing option with -o <lanscape/portrait> to print file in required mode. But i want to know is there any way we can set this as default behaviour for this printer? After configuration any script we can modify for this... (0 Replies)
Discussion started by: laxmikant
0 Replies

7. UNIX for Dummies Questions & Answers

Linux Server Network Settings - Share Directory Structure

Hello Unix Gurus Who I Hope Reads This, I have quasi-inherited control over a Linux cluster at a university research lab. The post-doc that set it up is gone, and the person in charge of administering the cluster doesn't know a ton about Linux. Amongst other things, I want to use the cluster... (0 Replies)
Discussion started by: mbl
0 Replies

8. Solaris

Creating A Solaris Zone - Unable to install - Are network settings required?

Hi i have created a solaris zone but have not yet connected any network cables for this new zone, can i set the zone up without running the command 'add net' and not adding an ip or physical interface? i tried to add dummy internet settings and get this zonecfg:coddr> add net... (4 Replies)
Discussion started by: newbiesolaris10
4 Replies

9. Shell Programming and Scripting

Script to adjust network settings

Hello, Newbie question on scripting - I'm looking to create a simple script that will work on RHEL5 that will adjust the network settings: ip address, default gateway, and subnet mask. If anything else needs to be done (service network stop / start) or should be done to make settings active - I... (4 Replies)
Discussion started by: rojizo
4 Replies

10. Fedora

Missing some System Settings from Gnome

Hello, I just installed Fedora 16 and wanted to add some apps to startup but realized System settings has only a small setup of utilities and does not have option for adding apps to startup. Also it's missing some other icons that I see on my Rhat 6.2 . I'm logged in as user from admin group but it... (2 Replies)
Discussion started by: susja
2 Replies
IPSEC_GOODMASK(3)					     Library Functions Manual						 IPSEC_GOODMASK(3)

NAME
ipsec_goodmask, ipsec_masktobits, ipsec_bitstomask - check if Internet subnet mask is valid, convert Internet subnet mask to bit count, convert bit count to Internet subnet mask SYNOPSIS
#include <freeswan.h> int goodmask(struct in_addr mask); int masktobits(struct in_addr mask); struct in_addr bitstomask(int n); DESCRIPTION
These functions are obsolete; see ipsec_masktocount(3) for a partial replacement. Goodmask reports whether the subnet mask is a valid one, i.e. consists of a (possibly empty) sequence of 1s followed by a (possibly empty) sequence of 0s. Masktobits takes a (valid) subnet mask and returns the number of 1 bits in it. Bitstomask reverses this, returning the subnet mask corresponding to bit count n. All masks are in network byte order. SEE ALSO
inet(3), ipsec_atosubnet(3) DIAGNOSTICS
Masktobits returns -1 for an invalid mask. Bitstomask returns an all-zeros mask for a negative or out-of-range n. HISTORY
Written for the FreeS/WAN project by Henry Spencer. BUGS
The error-reporting convention of bitstomask is less than ideal; zero is sometimes a legitimate mask. 11 June 2001 IPSEC_GOODMASK(3)
All times are GMT -4. The time now is 07:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy