08-09-2002
Try changing "ifconfig en0 media 10baseT/UTP mediaopt half-duplex" to "ifconfig en0 media 10baseT mediaopt half-duplex".
According to the man page - media type:
Set the media type of the interface to type. Some interfaces support the mutually exclusive use of one of several different physical media connectors. For example, a 10Mb/s Ethernet interface might support the use of either AUI or twisted pair connectors. Setting the media type to ``10base5'' or ``AUI'' would change the currently active connector to the AUI port. Setting it to "10baseT" or "UTP" would activate twisted pair. Refer to the interfaces' driver specific man page for a complete list of the available types, or use ifconfig -m interface for a listing of choices.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Attempting to break from a case/esac paragraph while inside of a function. When executing the code below, entering the letter 'a', will prove that the directory exists, but the break command works for the if/fi, but not for the case/esac. So, in my example below, if an A is entered, the function... (8 Replies)
Discussion started by: tumblez
8 Replies
2. Red Hat
Hi there everyone,
I'm using redhat 7.3 at the moment and am currently trying to install chkconfig-1.3.5-3.i386.rpm , but when I type this command:
rpm -Uvh chkconfig-1.3.5-3.i386.rpm
I get the following error:
error: failed dependencies:
chkconfig = 1.2.24 is needed by... (3 Replies)
Discussion started by: redhat_newb101
3 Replies
3. Solaris
I am using gcc3.3.5 on solaris2.7. Its a 64 bit compilation
I am compiling a file 'plugin.cpp'. It includes mach.h and the complation gives the following error.
-----------------------------------------------------------------
mach.h error: conflicting
types for `typedef vx_u32_t... (0 Replies)
Discussion started by: amitc
0 Replies
4. Programming
Hello ,
How to resolve below compilation error.activity_type is a member of structure and the output from databse will be stored in structure.Expected output wil l be either D or N or C .
sample struct format:
struct a{
char acAtivity_type;
}
code:
switch (a->activity_type)... (1 Reply)
Discussion started by: jagan_kalluri
1 Replies
5. Shell Programming and Scripting
OS: HP-UX
Programs I want to install: expect and tcl
I'm lost.
I bought the book.
I began reading the book.
I want to install expect.
I've been able to download the .z, and extract it successfully.
But, of course, it apparently needs tcl and possibly tk also, and ... I... (0 Replies)
Discussion started by: instant000
0 Replies
6. Debian
i just installed Debian Lenny on HP DL380. After the server rebooted, it still asks for me to insert a cd rom. where can I exactly check the settings for the boot menu? Should it use the hard disk since I didnt insert any cd? pls advise (1 Reply)
Discussion started by: lhareigh890
1 Replies
7. Shell Programming and Scripting
case "$inputs" in
sapte)
find /pools/home_unix/sapte/work/models/model -name "*.xml" exec rm -i {} \;;
ckm1)
find /pools/home_unix/ckm1/work/models/model -name "*.xml" exec rm -i {}
\;;
I am getting error like as below.
./menu1.sh: line 144: syntax error near unexpected token `)'... (4 Replies)
Discussion started by: lathigara
4 Replies
8. SuSE
We currently have a setup with SLES11SP1 where we have an AutoYaST ISO set up for automated network installs. I'm attempting to port this to SP2 to make new installs current, but I'm running into a few problems. The process seems the same, and after running mkisofs to build a new SP2 ISO the... (0 Replies)
Discussion started by: Magus Zeal
0 Replies
9. Shell Programming and Scripting
Hello All,
Here I am trying to login a Linux machine as admin user from a Solaris box..
& then switch to root user..
Code I use:
ssh admin@<IP> << END
su - root << A
echo "Hello I am logged in as root"
exit
A
exit
END
But the error I get..
su: must be run from a... (3 Replies)
Discussion started by: ailnilanjan
3 Replies
10. UNIX for Beginners Questions & Answers
I am working on an embbeded system. On the system in /usr/bin there are a host of programs one of which is called alsamixer. I want to use this utility but whenever I try to run any alsamixer commands I get and error message:
Error opening terminal: vt100
Anyone ever seen this error... (10 Replies)
Discussion started by: Circuits
10 Replies