LinuxQuestions.org
Review your favorite Linux distribution.
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 10-13-2002, 09:20 AM   #1
irfanasim
LQ Newbie
 
Registered: Sep 2002
Posts: 10

Rep: Reputation: 0
Help needed in 3 problems


Dear All

I have following Questions

1 . To make another ethernet interface (virtual) i have created
/etc/sysconfig/network-scripts/ifcfg-eth0-1 file with following
enteries

DEVICE=eth0:0
BOOTPROTO=static
BROADCAST=192.168.0.255
IPADDR=192.168.0.1
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes

After that I restarted network service with "service network restart" and to see interfaces i did "ifconfig" but it didnt show the eth0:0 interface . only eth0 and lo0 are there. i dont want to make this interface up manually with any command . Please tell me what things should be done next.

2. /etc/rc.d/rc.local is not working . The commands i put here dont execute during startup. what could be the problem ??

3.when ever i mail any local user my email shown to the local user becomes
root@localhost.localdomain
whereas it should be
root@hostname.mydomain
Can u tell me where can i define my hostname and domain name so that i can get my desired result . I have already configured /etc/hosts with following enteries:

127.0.0.1 hostname localhost.localdomain. localhost

192.168.0.1 hostname hostname.mydomain hostname

I would be grateful for your guidance in solving these problems

Irfan Asim
 
Old 10-14-2002, 04:45 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
1 . To make another ethernet interface (virtual) i have created
/etc/sysconfig/network-scripts/ifcfg-eth0-1 file

"cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:1", then edit ifcfg-eth0:1.

2. /etc/rc.d/rc.local is not working . The commands i put here(...)
Example? If you're not sure what you script is ok, make it a separate script, run it as "sh -x <scriptname>" to see its gory details expanded, or at least wrap the commands in quotes and echo them.

3. Your Mail Tranfer Agent (MTA), option "DM" for sendmail, Masquerade_as.
 
  


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
gDesklets problems. Help needed, I am about to suffer a mental brakedown Icetec Linux - General 4 11-14-2004 06:17 AM
Yet More Help needed Poorboy2004 Linux - Networking 7 09-19-2003 02:54 PM
help needed trolsbane Linux - Hardware 3 09-06-2003 03:36 PM
Display Problems - Help Needed hdx08774 Linux - General 2 03-18-2003 02:45 PM
Display Problems - Help Needed hdx08774 Linux - Hardware 3 03-17-2003 11:35 PM

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

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