Toon posts:

Command 'ip' not found

Pagina: 1
Acties:
  • 39 views sinds 30-01-2008

Verwijderd

Topicstarter
Ik probeer een firewall te installeren maar krijg de volgende fout melding:


code:
1
2
3
4
5
6
which: no ip in /usr/local/sbin:/usr/local/bin:/sbin:
/usr/sbin:/bin:/usr/bin:/bin:/usr/bin:/sbin:/usr/sbin)

ERROR:  Command 'ip' not found in the system path.
        FireHOL requires this command for its operation.
        Please install the required package and retry.


Kan iemand mij vertellen waar ik dat programma 'ip' vandaan kan halen :?

  • Emmeau
  • Registratie: Mei 2003
  • Niet online

Emmeau

All your UNIX are belong to us

bedoel je niet iptables?

If you choose to criticise you choose your enemies


Verwijderd

Topicstarter
nee, het gaat echt om 'ip'. eerst zoekt hij ip, dan naar iptables.

edit:

zie stukje uit het script:

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
which_cmd CAT_CMD cat
which_cmd CUT_CMD cut
which_cmd CHOWN_CMD chown
which_cmd CHMOD_CMD chmod
which_cmd DATE_CMD date
which_cmd EGREP_CMD egrep
which_cmd GAWK_CMD gawk
which_cmd GREP_CMD grep
which_cmd HOSTNAME_CMD hostname
which_cmd IP_CMD ip
which_cmd IPTABLES_CMD iptables
which_cmd IPTABLES_SAVE_CMD iptables-save
which_cmd LESS_CMD less

[ Voor 99% gewijzigd door Verwijderd op 24-06-2004 19:36 ]


  • Emmeau
  • Registratie: Mei 2003
  • Niet online

Emmeau

All your UNIX are belong to us

welke linux distro als het er eentje is?
Welke firewall?

Waar komt bovenstaande code vandaan?
man ip?
wat zou ip moeten doen?

If you choose to criticise you choose your enemies


Verwijderd

Topicstarter
Ik draai op slackware 9.1 en het gaat om de firewall genaamd: firehole (versie 1.191) Daar komt dit stukje script ook uit.

Wat ip moet doen weet ik ook niet. maar volgens mij heeft firehole het wel nodig...

[ Voor 27% gewijzigd door Verwijderd op 24-06-2004 19:38 ]


  • Spider.007
  • Registratie: December 2000
  • Niet online

Spider.007

* Tetragrammaton

Probeer eens de package 'iproute2' te installeren?

---
Prozium - The great nepenthe. Opiate of our masses. Glue of our great society. Salve and salvation, it has delivered us from pathos, from sorrow, the deepest chasms of melancholy and hate


Verwijderd

Topicstarter
Thnx, daar zat 'ip' in!

  • Zwerver
  • Registratie: Februari 2001
  • Niet online
Ja, en dat had je ook zelf wel kunnen vinden pietpiet ;) Wat ik eigenlijk op een wat minder tactische manier daar zeg is: we verwachten hier wat zelfinitatief in NOS, als je even gezocht had dan had je dit zelf kunnen vinden.

Woonachtig Down Under. Ik negeer je insults niet, maar tegen de tijd dat ik ze lees zijn ze meestal niet relevant meer

Pagina: 1

Dit topic is gesloten.