Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: tropicalview on August 02, 2007, 02:44:57 AM
-
This topic continues http://forums.contribs.org/index.php?topic=38002.0
I desided to start a new one because the question of the other one is answered.
I searched the web and found out myself that i can get the device working with this command:
modprobe pegasus
After this command i successfully obtaied my network interface at eth2
[root@studentensvr ~]# ifconfig eth2
eth2 Link encap:Ethernet HWaddr 00:00:E8:00:44:BF
BROADCAST MULTICAST MTU:1536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[root@studentensvr ~]#
Now my problem is, this i have to do everytime i restart the machine!
how can i put that into the automatic startup?
and how can i activate that interface card as the internet interface?
Kind regards,
Hendrik kroon
-
Here is a guess. I looked at /etc/modprob.conf and my server has this line in it - alias eth0 3c59x. So, did a locate 3c59x to find what was being loaded. I did the same for pegasus. So, from that, it looks like you can add this the /etc/modprob.conf - alias eth2 pegasus. Then in /etc/sysconfig/network-scripts, create a file called ifcfg-eth2 and fill in these paramaters:
TYPE=Ethernet
DEVICE=eth0
USERCTL=no
ONBOOT=yes
PEERDNS=no
IPV6INIT=no
BOOTPROTO=none
IPADDR=x.x.x.x
NETMASK=x.x.x.x
NETWORK=x.x.x.x
BROADCAST=x.x.x.x
Reboot and see if it comes up. Modprobe.conf is templated so if the interface did come up, you can create the appropriate templates so that the settings will be preserved duing a reconfiguration reboot event.
Let us know if this did indeed work.
John
-
Dear mrjhb3
You know what this means:
[root@studentensvr network-scripts]# ping 192.168.2.7
PING 192.168.2.7 (192.168.2.7) 56(84) bytes of data.
64 bytes from 192.168.2.7: icmp_seq=0 ttl=128 time=0.945 ms
64 bytes from 192.168.2.7: icmp_seq=1 ttl=128 time=0.531 ms
64 bytes from 192.168.2.7: icmp_seq=2 ttl=128 time=0.518 ms
64 bytes from 192.168.2.7: icmp_seq=3 ttl=128 time=0.537 ms
64 bytes from 192.168.2.7: icmp_seq=4 ttl=128 time=0.502 ms
64 bytes from 192.168.2.7: icmp_seq=5 ttl=128 time=0.545 ms
64 bytes from 192.168.2.7: icmp_seq=6 ttl=128 time=0.532 ms
--- 192.168.2.7 ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 6007ms
rtt min/avg/max/mdev = 0.502/0.587/0.945/0.147 ms, pipe 2
[root@studentensvr network-scripts]#
IT works :D :D :D :D
Now how can we make this perminent?
some one else "TrevorB" replied on my previous topic. (http://forums.contribs.org/index.php?topic=38002.msg171402#msg171402)
Do you think i need to follow his instructions?
Kind regards,
Hendrik Kroon
PS.
One thing that is not going fine as yet, after restart i have to restart the network again to let it work
/etc/init.d/network restart
-
Now how can we make this perminent?
some one else "TrevorB" replied on my previous topic. (http://forums.contribs.org/index.php?topic=38002.msg171402#msg171402)
What my reply did was to make that change 'permanent' and set from within the config database (it adds the pegasus driver into /etc/modprobe.conf via the smeserver templating system).
Oops, I left out the command to restart the network after the change/etc/init.d/network restart
but after that, any subsequent reboot will include eth2 with the pegasus driver.
Trevor B