You are not logged in.
Pages: 1
Goodnight
I'm using eve-ng a tool to emulate networking equipment. But I would like to put the Secure CRT as the Default terminal to open the application.
On the site itself there is a tutorial asking to insert the following line ( echo 'PATH="$HOME/bin:$HOME/.local/bin:$PATH"' >> ~/.profile). already able to perform in ubuntu but in Arch linux
I don't have the .profile file, I created it but without success. I would like to know if there is any way to accomplish this.
I already tried ~/.bashrc and ~/.bash_profile.
Grateful
Offline
What tutorial on what site?
Do you understand what that line does?
What does your ~/.profile now actually look like?
Also
echo $PATH
ls -lh ~/binOffline
Good morning,
Yes, he inserted the path in the ~/.profile file to fetch the executable command. In my case that create in .local/bin.
It is currently like this. follows from this tutorial site (https://github.com/SmartFinn/eve-ng-int … /issues/19)
carlos@NManicardi bin]$ ls
SecureCRTx
[carlos@NManicardi bin]$ cat SecureCRTx
#!/bin/sh
SecureCRT /T /TELNET "$@"
[carlos@NManicardi ~]$ echo $PATH
/home/carlos/bin:/home/carlos/.local/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/var/lib/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
[carlos@NManicardi ~]$ cat .profile
PATH="$HOME/bin:$HOME/.local/bin:$PATH"
Last edited by Carlos Manicardi (2023-04-05 15:30:17)
Offline
Please use code tags, https://bbs.archlinux.org/help.php#bbcode
The cat doesn't reveal whether that script is exectable and in any event the github issue suggests to shadow/emulate telnet this way - what's the suppsoed point of ~/bin/SecureCRTx
https://github.com/SmartFinn/eve-ng-int … -375947312 relies on further edits, lost behind some 404 images of text.
I suppose they're reflected in https://github.com/SmartFinn/eve-ng-int … -425656696
Offline
I also changed in /usr/bin/eve-ng-integration:
elif self._is_command('SecureCRTx'):
return ['SecureCRTx']
I already tried to add in
.bash_profile and .bashrc
but all unsuccessful
Offline
1st off all: what is "unsuccessful" how?
2nd: the comment has two changes (unfortunately w/o any context, because why post a diff if one can post an image of text
)
3rd Why not go w/ the telinit shadow?
Offline
I would just like to put Securecrt as Eve-Ng's default terminal according to the link, but make the changes according to the tutorial link and it didn't work. instead insert:
echo 'PATH="$HOME/bin:$HOME/.local/bin:$PATH"' >> ~/.profile can only be inserted in .bash_profile and .bashrc but it didn't work either
Offline
Yeah, just extending your PATH won't do jack squat, no matter how you go about that.
The approaches there all discuss ways to introduce a script that wraps SecureCRT (and in one case extends Eve-Ng), the location of that script is not wrong, but a completely irrelevant detail.
Try to shadow telinit (because that won't require an alteration of Eve-Ng) and post the script you created, its permissions, your $PATH, the output of "type telinit" and elaborate on "didn't work"
https://bbs.archlinux.org/viewtopic.php?id=57855
Offline
I'm using the Eve-NG Network application As shown in the image below, it has this (https://github.com/SmartFinn/eve-ng-integration) Linux Client integration pack to interact with it.
I installed the Linux Client integration pack according to the link above and I can open the equipment with roxterm according to the image link.
However, I would like that when opening the equipment, instead of opening roxterm, it opens SecureCRT.
I found something related to this on github (https://github.com/SmartFinn/eve-ng-int … /issues/19) so I tried to apply it here in my Arch.
1. I created the SecureCRTx file inside the ~/.local/bin/SecureCRTx directory with the following content:
#!/bin/sh
SecureCRT /T /TELNET "$@"
2. I applied permission for the same with:
chmod +x ~/.local/bin/SecureCRTx
3.Create the ~/.profile file and add the PATH:
PATH="$HOME/bin:$HOME/.local/bin:$PATH"
Then I went to usr/bin/eve-ng-integration and added the following lines as shown in the image.
But when I make these changes I click on the equipment and it does not open any terminal or roxterm or SecureCRT.
So I did a test to add the
PATH="$HOME/bin:$HOME/.local/bin:$PATH"
in .bash_profile and .bashrc but the scenario remained the same.
I would like to know if when opening the equipment it opens SecureCRT and not Roxterm, I don't know if there is this possibility.
Last edited by Carlos Manicardi (2023-04-05 18:05:12)
Offline
Do you actually speak English?
2nd: the comment has two changes (unfortunately w/o any context, because why post a diff if one can post an image of text roll)
Why not go w/ the telinit shadow?
Try to shadow telinit (because that won't require an alteration of Eve-Ng)
Offline
Ok thanks for your help.
Last edited by Carlos Manicardi (2023-04-05 18:11:08)
Offline
Pages: 1